diff options
author | Stephan Holljes <klaxa1337@googlemail.com> | 2015-06-04 01:16:59 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-06-06 09:13:41 +0200 |
commit | aa74401af8a40862c8e148222481921f8013f6ed (patch) | |
tree | cb53e43b36f3c7535337d925c3d41efb229ec866 /doc/protocols.texi | |
parent | f07376402cdd68c40ad602b2f5a43989348bb587 (diff) |
lavf/http: Document method option.
Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r-- | doc/protocols.texi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index f822d81223..453dbcf6bf 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -278,6 +278,16 @@ Set initial byte offset. @item end_offset Try to limit the request to bytes preceding this offset. +@item method +When used as a client option it sets the HTTP method for the request. + +When used as a server option it sets the HTTP method that is going to be +expected from the client(s). +If the expected and the received HTTP method do not match the client will +be given a Bad Request response. +When unset the HTTP method is not checked for now. This will be replaced by +autodetection in the future. + @item listen If set to 1 enables experimental HTTP server. This can be used to send data when used as an output option, or read data from a client with HTTP POST when used as |