http: Add an option for forcing basic authentication
authorMartin Storsjö <martin@martin.st>
Wed, 9 Oct 2013 09:14:02 +0000 (12:14 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 13 Oct 2013 09:59:03 +0000 (12:59 +0300)
commiteb8b05a3824a9fa85e20d603595ac8a3b83505d4
tree0250298f434177a54246c8d734b5810e6950979d
parenteb90a2091ffb94d8c29aaa5ff50f4192520254fc
http: Add an option for forcing basic authentication

The default is to autodetect the auth method. This does require one
extra request (and also closing and reopening the http connection).
For some cases such as HTTP POST, the autodetection is not handled
properly (yet).

No option is added for digest, since this method requires getting
nonce parameters from the server first and can't be used straight
away like Basic.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/http.c
libavformat/version.h