Opened 11 years ago

Closed 6 years ago

#2179 closed enhancement (fixed)

Please add HTTP referer support

Reported by: gjdfgh Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: http
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

http.c should be able to add a "Referer:" HTTP header. This could be added in a similar way as "user-agent" by adding a new av_opt.

Maybe additional considerations have to be taken when the stream is used for multiple HTTP requests, as the referer is a per-request thing.

Change History (4)

comment:1 by gjdfgh, 11 years ago

I extend my request: it should just be allowed to specify arbitrary user-defined HTTP headers.

EDIT: that's already supported. Sorry for the noise.

Maybe referer should still be a separate feature, because of the additional considerations.

Last edited 11 years ago by gjdfgh (previous) (diff)

comment:2 by Carl Eugen Hoyos, 11 years ago

Keywords: http added

comment:4 by Carl Eugen Hoyos, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.