Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alttiri/content-disposition-by-sw
[demo] Service worker returns response with `Content-Disposition` header.
https://github.com/alttiri/content-disposition-by-sw
content-disposition demo service-worker site
Last synced: 5 days ago
JSON representation
[demo] Service worker returns response with `Content-Disposition` header.
- Host: GitHub
- URL: https://github.com/alttiri/content-disposition-by-sw
- Owner: AlttiRi
- Created: 2021-08-08T20:07:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-09T21:32:08.000Z (over 3 years ago)
- Last Synced: 2024-11-28T04:24:00.630Z (2 months ago)
- Topics: content-disposition, demo, service-worker, site
- Language: JavaScript
- Homepage: https://alttiri.github.io/content-disposition-by-sw/
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# content-disposition-by-sw
It's the demo site where Service Worker returns a responce with set Content-Disposition header with non ASCII characters (`"123---ใใกใคใซ---๐งโก๐ฅ---xxx.txt"`) for the requests are performed
on https://alttiri.github.io/content-disposition-by-sw/
to `./xxx-0`, `./xxx-1`, `./xxx-2` URLs.Note: Due to Chromium's bug it's not possible to correctly set [Binary String](https://developer.mozilla.org/en-US/docs/Web/API/DOMString/Binary)
([ByteString](https://developer.mozilla.org/en-US/docs/Web/API/ByteString)) as a header value in Service Worker.**Use Desktop Firefox for this demo.**