Opened 2 years ago

Last modified 2 years ago

#9984 new enhancement

Disable default http Headers

Reported by: metzger.100 Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords: http https
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by metzger.100)

Summary of the bug:
Well, I used ffmpeg to get some streams from the WWW downloaded.
therefore I need to send custom http headers to don't get rejected.
Now I get rejected because of the default headers, which I can't diable.
I can disable Icy-Metadata: with -icy 0 but not the other headers like Host, Range, Accept and Connection. Would be cool if you could add a option to disable the default headers so only my custom headers get sent. Overwriting the headers to remove the content didn't help.
How to reproduce:

% ffmpeg -headers "Header1: 0`r`nHeader2: 1`r`n" -icy 0 -i input ... output
ffmpeg 5.0-full
built on Windows

Change History (1)

comment:1 by metzger.100, 2 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.