diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2011-03-17 08:58:49 +0000 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-13 03:17:05 +0300 |
commit | c99d8fc8981d13203c2bbf9c12b7720cd8632ae1 (patch) | |
tree | 4eedca60b1f3814f8cd958d8e6ce317e8adfce02 /DOCS/man | |
parent | 4b5a86c78e67d0412c65f8d8b0830e8e450cd2ed (diff) | |
download | mpv-c99d8fc8981d13203c2bbf9c12b7720cd8632ae1.tar.bz2 mpv-c99d8fc8981d13203c2bbf9c12b7720cd8632ae1.tar.xz |
stream: http: Allow setting custom http header
Patch by Nikolay Nikolaev, nicknickolaev yahoo com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33082 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/en/mplayer.1 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 206a46b4fa..53a27b51e4 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -1485,6 +1485,35 @@ Can be slow especially when seeking backwards since it has to rewind to the beginning to find an exact frame position. . .TP +.B \-http-header-fields <field1,field2> +Set custom HTTP fields when accessing HTTP stream. +.sp 1 +.I EXAMPLE: +.PD 0 +.RSs +.IPs +mplayer \-http\-header\-fields 'Field1: value1','Field2: value2' http://localhost:1234 +.br +Will generate HTTP request: +.RSss +.br +GET / HTTP/1.0 +.br +Host: localhost:1234 +.br +User-Agent: MPlayer +.br +Icy-MetaData: 1 +.br +Field1: value1 +.br +Field2: value2 +.br +Connection: close +.REss +.RE +. +.TP .B \-idx (also see \-forceidx) Rebuilds index of files if no index was found, allowing seeking. Useful with broken/\:incomplete downloads, or badly created files. |