1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

http: Support setting custom User-Agent

Contextually make the default User-Agent use the common
"Name/Version" pattern.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Clément Bœsch
2014-03-06 18:39:59 +01:00
committed by Luca Barbato
parent e58c85b068
commit ddfc989063
2 changed files with 10 additions and 2 deletions

View File

@@ -92,6 +92,10 @@ HTTP (Hyper Text Transfer Protocol).
This protocol accepts the following options:
@table @option
@item user_agent
Override the User-Agent header. If not specified a string of the form
"Lavf/<version>" will be used.
@item mime_type
Export the MIME type.