Opened 5 years ago

Last modified 5 years ago

#2179 new enhancement

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


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 (2)

comment:1 Changed 5 years ago by gjdfgh

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 5 years ago by gjdfgh (previous) (diff)

comment:2 Changed 5 years ago by cehoyos

  • Keywords http added
Note: See TracTickets for help on using tickets.