1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00
curl/src
Daniel Stenberg fd4cf78f36 Philip Langdale provided the new CURLOPT_POST301 option for
curl_easy_setopt() that alters how libcurl functions when following
redirects. It makes libcurl obey the RFC2616 when a 301 response is received
after a non-GET request is made. Default libcurl behaviour is to change
method to GET in the subsequent request (like it does for response code 302
- because that's what many/most browsers do), but with this CURLOPT_POST301
option enabled it will do what the spec says and do the next request using
the same method again. I.e keep POST after 301.

The curl tool got this option as --post301

Test case 1011 and 1012 were added to verify.
2007-09-26 12:44:59 +00:00
..
macos Eric-update 2001-12-04 16:33:40 +00:00
.cvsignore Bryan Henderson: added missing ignores 2005-11-25 22:45:50 +00:00
config-amigaos.h proper symbol definition check for all AmigaOS flavours 2007-02-28 14:45:48 +00:00
config-mac.h Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support 2006-10-14 12:01:44 +00:00
config-riscos.h Patrick Monnerat modified the LDAP code and approach in curl. Starting now, 2007-08-11 20:57:54 +00:00
config-win32.h blocked ssize_t define for MingW32. 2007-08-08 16:59:43 +00:00
curl.rc Take in account that it can be built with compiler debug info and 2007-04-13 08:22:56 +00:00
curlutil.c moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning). 2007-06-30 23:45:57 +00:00
curlutil.h curl tool was using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-20 12:13:14 +00:00
getpass.c added lf to Win32 getpass_r() so that next output appears in new line. 2007-07-20 16:01:05 +00:00
getpass.h My reimplementation and cleanup of the getpass source code. We officially no 2004-12-25 22:08:02 +00:00
homedir.c Cleanup windows header includes. Where aplicable, inclusion of 2005-12-18 15:36:14 +00:00
homedir.h updated year in the copyright string 2004-01-07 09:19:33 +00:00
hugehelp.c.cvs make it more obvious what this is by not even trying to show a manual 2003-02-04 18:22:31 +00:00
hugehelp.h use hugehelp.h to silence picky compiler warnings 2004-01-29 13:48:36 +00:00
main.c Philip Langdale provided the new CURLOPT_POST301 option for 2007-09-26 12:44:59 +00:00
Makefile.am Better separate the library dependencies into those required by libcurl 2007-02-17 01:29:01 +00:00
makefile.amiga curl tool was using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-20 12:13:14 +00:00
Makefile.b32 Changes for static/dynamic linking of libcurl. 2004-11-14 13:51:33 +00:00
makefile.dj Added "CSOURCES = $(CURL_SOURCES)". 2007-02-27 15:44:25 +00:00
Makefile.inc curl tool was using functions curlx_tvnow and curlx_tvdiff which are not 2007-02-20 12:13:14 +00:00
Makefile.m32 only link with -lwldap32 if we dont use other LDAP SDKs. 2007-08-25 12:08:38 +00:00
Makefile.netware compile with ldaps by default since it seems to work fine so far. 2007-08-20 16:34:04 +00:00
Makefile.riscos brougth by Michael Curtis 2002-04-10 20:52:26 +00:00
Makefile.vc6 fixed VC6 makefiles for new ldap linkage. 2007-09-15 20:02:22 +00:00
Makefile.Watcom moved HAVE_LONGLONG from makefiles to config-win32.h. 2007-08-07 17:40:56 +00:00
mkhelp.pl kill trailing whitespace 2006-10-09 14:59:53 +00:00
setup.h moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning). 2007-06-30 23:45:57 +00:00
urlglob.c Fixed typo in error message. 2007-09-20 00:37:08 +00:00
urlglob.h Introducing range stepping to the curl globbing support. Now you can specify 2005-11-10 22:11:01 +00:00
version.h include curl/curlver.h instead since this only needs the version defines 2004-03-24 07:27:58 +00:00
writeenv.c Add 'const' to immutable arrays. 2004-12-15 01:38:25 +00:00
writeenv.h updated year in the copyright string 2004-01-07 09:19:33 +00:00
writeout.c David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path 2006-03-21 22:30:03 +00:00
writeout.h updated year in the copyright string 2004-01-07 09:19:33 +00:00