No description
Find a file
Martin Storsjö 71549a857b http: Support auth method detection for POST
Inspired by a patch by Jakob van Bethlehem. But instead of doing
an empty POST first to trigger the WWW-Authenticate header (which
would succeed if no auth actually was required), add an Expect:
100-continue header, which is meant to be used exactly for
cases like this.

The header is added if doing a post, and the user has specified
authentication but we don't know the auth method yet.

Not all common HTTP servers support the Expect: 100-continue header,
though, so we only try to use it when it really is needed. The user
can request it to be added for other POST requests as well via
an option - which would allow the caller to know immediately that
the POST has failed (e.g. if no auth was provided but the server
required it, or if the target URL simply doesn't exist).

This is only done for write mode posts (e.g. posts without pre-set
post_data) - for posts with pre-set data, we can just redo the post
if it failed due to 401.

Signed-off-by: Martin Storsjö <martin@martin.st>
2013-10-13 12:59:03 +03:00
compat Revert "w32pthread: help compiler figure out undeeded code" 2013-08-27 23:12:49 +03:00
doc lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
libavcodec pthread: Fix deadlock during thread initialization 2013-10-13 05:50:00 -04:00
libavdevice libavutil: Make avpriv_open a library-internal function on msvcrt 2013-08-10 00:53:33 +03:00
libavfilter pthread: Fix deadlock during thread initialization 2013-10-13 05:50:00 -04:00
libavformat http: Support auth method detection for POST 2013-10-13 12:59:03 +03:00
libavresample audio_mix: fix channel order in mix_1_to_2_fltp_flt_c 2013-10-12 15:06:55 +02:00
libavutil x86inc: Remove .rodata kludges 2013-10-09 07:44:30 -04:00
libswscale swscale: provide a default scaler if none is set 2013-10-05 18:38:55 +02:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests FATE: add lavr resampling tests 2013-10-12 15:07:46 +02:00
tools ismindex: Change the duration field to int64_t 2013-10-05 00:01:28 +03:00
.gitignore Integrate lcov/gcov into Libav 2013-04-05 18:55:11 +02:00
arch.mak arm: rename ARMVFP config symbol to VFP 2012-12-07 16:54:04 +00:00
avconv.c avconv: support -t as an input option. 2013-08-05 10:54:19 +02:00
avconv.h avconv: support -t as an input option. 2013-08-05 10:54:19 +02:00
avconv_filter.c avconv: support -t as an input option. 2013-08-05 10:54:19 +02:00
avconv_opt.c avconv: support -t as an input option. 2013-08-05 10:54:19 +02:00
avplay.c miscellaneous typo fixes 2013-07-25 19:43:32 +02:00
avprobe.c cmdutils: wrap exit explicitly 2013-07-07 21:43:23 +02:00
avserver.c avserver: do not use a static string as a default for a string option 2013-08-04 18:47:22 +02:00
Changelog oggdec: add support for Opus in Ogg demuxing 2013-10-12 15:25:18 +02:00
cmdutils.c cmdutils: Only do the windows-specific commandline parsing on _WIN32 2013-08-08 10:59:03 +03:00
cmdutils.h cmdutils: wrap exit explicitly 2013-07-07 21:43:23 +02:00
cmdutils_common_opts.h cmdutils: extend -h to allow printing codec details. 2012-08-19 19:22:08 +02:00
common.mak avformat/output-example: Declare link dependency on libswscale in the Makefile 2013-10-03 23:23:04 +02:00
configure build: Require yasm 0.8.0 or higher 2013-10-09 07:44:19 -04:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak build: Strip spurious labels 2013-10-07 06:20:15 -04:00
LICENSE LICENSE: Move (L)GPLv3 explanation block to a more suitable place 2013-02-27 19:51:10 +01:00
Makefile w32pthreads: move from lavc to compat/ 2013-05-24 09:26:54 +02:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Prepare for 10_alpha1 Release 2013-01-06 16:23:12 +01:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.