1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 06:55:02 -05:00
curl/tests/server
Daniel Stenberg 6375b205a9
http: added 417 response treatment
When doing a request with a body + Expect: 100-continue and the server
responds with a 417, the same request will be retried immediately
without the Expect: header.

Added test 357 to verify.

Also added a control instruction to tell the sws test server to not read
the request body if Expect: is present, which the new test 357 uses.

Reported-by: bramus on github
Fixes #4949
Closes #4964
2020-02-26 22:48:14 +01:00
..
.gitignore git: add tests/server/disabled to .gitignore 2019-09-30 18:01:05 +02:00
base64.pl scripts: allow all perl scripts to be run directly 2018-01-07 15:42:11 -05:00
CMakeLists.txt build: Disable Visual Studio warning "conditional expression is constant" 2019-12-01 19:01:02 -05:00
disabled.c tests: have runtests figure out disabled features 2019-06-17 16:08:00 +02:00
fake_ntlm.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
getpart.c cppcheck: fix warnings 2018-06-11 11:14:48 +02:00
getpart.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
Makefile.am tests: make sure checksrc runs on header files too 2019-12-16 22:46:48 +01:00
Makefile.inc tests: have runtests figure out disabled features 2019-06-17 16:08:00 +02:00
resolve.c curl_setup: disable IPv6 resolver without getaddrinfo 2019-12-03 21:37:33 +01:00
rtspd.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
server_setup.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
server_sockaddr.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
sockfilt.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
socksd.c build: fix Codacy warnings 2019-06-05 20:38:06 +02:00
sws.c http: added 417 response treatment 2020-02-26 22:48:14 +01:00
testpart.c whitespace fixes 2018-09-23 22:24:02 +00:00
tftp.h URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
tftpd.c snprintf: renamed and we now only use msnprintf() 2018-11-23 08:26:51 +01:00
util.c strerror: Fix an error looking up some Windows error strings 2019-11-09 18:07:59 -05:00
util.h timediff: return timediff_t from the time diff functions 2017-10-25 09:54:37 +02:00