I’m dealing with some mp3 link on the internet.
When using Chrome developer tool, I see some have response header with Content-Type:application/octet-stream (links like these force Chrome to download), some links have reponse header with Content-Type:audio/mpeg (links like these allow Chrome to play them streamingly).
Are there any Chrome extensions that allow changing response header? Because I want to change Content-Type
See the Chrome developer page.
Here’s a simple example that modifies
Content-Typeofhttps://www.google.com/to text/plain.Note that you have to declare both
webRequestandwebRequestBlockingpermissions inmanifest.json.