Commit Graph

302 Commits

Author SHA1 Message Date
Daniel Stenberg a7fd6f9007 require ssl since ntlm needs it 2004-04-06 15:16:07 +00:00
Daniel Stenberg 8ed44e8dfb New authentication code added, particularly noticable when doing POST or PUT
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication
and when done perform the requested POST.
2004-04-06 15:14:10 +00:00
Daniel Stenberg 75d66b9c62 test 153 tests Digest authorization and stale=true stuff 2004-03-31 11:51:21 +00:00
Daniel Stenberg dd2add82ee Fixed how the user name is extracted from http_proxy environment variable
when set.
2004-03-31 10:46:06 +00:00
Daniel Stenberg a90cd1a45c David Byron's new test cases for the --fail and auth stuff. 2004-03-30 06:41:33 +00:00
Daniel Stenberg dd1ba7633e Enabled 'NT responses' in the NTLM type-3 message. 2004-03-22 13:50:30 +00:00
Daniel Stenberg 498666bdc3 issue 12 fix 2004-03-05 12:54:18 +00:00
Daniel Stenberg d6eb28400b added test 99, very basic initial large file test 2004-03-01 16:18:40 +00:00
Daniel Stenberg 77268e0649 Joe Halpin made the FTP code send 'QUIT' on the control connection before
it disconnects the TCP connection, like a good ftp client should!
2004-02-27 07:08:37 +00:00
Daniel Stenberg 3430ce7907 Kill the server when this test is done, as other FTP-tests sometimes
have problems otherwise.
2004-02-26 22:40:33 +00:00
Daniel Stenberg f9a6e7b68d stop doing the weirdo symlinks 2004-02-12 14:39:28 +00:00
Daniel Stenberg 93e32e6f62 Modified the default HTTP Accept: header to only be Accept: */* 2004-02-09 12:46:41 +00:00
Daniel Stenberg f8a5ec1380 Removed, this was only used to work out what went wrong with test 91, and
we seem to have nailed that one now!
2004-02-09 11:41:07 +00:00
Daniel Stenberg e97ce57d0b Made a test that sends data on stdin to PUT, with a given length and
chunked transfer-encoding disabled. Fixed to work after Len Krause's
bug report.
2004-02-05 15:21:46 +00:00
Daniel Stenberg b6592e29a4 added test 97, a simple test with -d post and a replacede content-type
header using -H
2004-02-02 07:13:29 +00:00
Daniel Stenberg 99a3e2d769 added test 510, callback-based POST using chunked encoding 2004-01-30 09:25:45 +00:00
Daniel Stenberg 9b24c9a754 adjusted to the corrected chunked transfer-encoding extra trailing CRLF 2004-01-29 07:43:56 +00:00
Daniel Stenberg 958987c214 Chunked-transfers should have an additional CRLF after the final 0 CRLF
sequence.
2004-01-28 17:07:22 +00:00
Daniel Stenberg ed75842df0 added the extra newline that this needs to succeed 2004-01-28 17:03:49 +00:00
Daniel Stenberg f35398e414 send a connection: close in the initial reply to see if things differ 2004-01-27 13:35:55 +00:00
Daniel Stenberg dc932f739a CONNECT response headers are now passed back as "regular" headers 2004-01-27 12:54:22 +00:00
Daniel Stenberg 68826c25f8 removed Basic in the initial response to see if it makes any difference
in the failure frequency
2004-01-21 08:51:54 +00:00
Daniel Stenberg 60787171c7 added this test, this is basicly a copy of test 91 but we return the first
response with a size 5 instead of size 0, to see if this has an impact on
the failure frequency - test 91 still fails occationally.
2004-01-16 12:40:42 +00:00
Daniel Stenberg 4a4295290d we no longer distribute the non-working tests 400 - 403 2004-01-13 13:34:10 +00:00
Daniel Stenberg 3a61c98b65 Peter Sylvester brought code that now allows a callback to modified the URL
even when the multi interface is used, and then libcurl will simulate a
"follow location" to that new URL. Test 509 was added to test this feature.
2004-01-12 15:26:32 +00:00
Daniel Stenberg 989ec98ebd modified and corrected test 506 2003-12-16 09:49:36 +00:00
Daniel Stenberg 1d85f950bf test 95 added, verifies my fix for bug report #848371 2003-11-25 09:06:33 +00:00
Daniel Stenberg b3803903d1 requires a SSL-capable client 2003-11-25 08:44:48 +00:00
Daniel Stenberg 50e690f2dd test proxy CONNECT requiring basic auth but we don't provide any 2003-11-24 16:17:18 +00:00
Daniel Stenberg 2769f3b245 request a file over proxy without credentials, and get a 407 back 2003-11-20 09:52:48 +00:00
Daniel Stenberg f023b4cc79 back to GMT again 2003-10-31 21:37:03 +00:00
Daniel Stenberg 5554f1ccba updated for the cut off GMT string 2003-10-30 09:06:52 +00:00
Daniel Stenberg e9c835ad06 David Hull made the file: URL parser also accept the somewhat sloppy file
syntax: file:/path. I added test case 203 to verify this.
2003-10-29 09:53:21 +00:00
Daniel Stenberg f991a69cce tests the new -C - fix 2003-10-24 21:58:43 +00:00
Daniel Stenberg ed7ac3c932 better name, it isn't https 2003-10-24 20:39:39 +00:00
Daniel Stenberg d46afd2b6a make it work with Negotiate support enabled too 2003-10-24 20:21:01 +00:00
Daniel Stenberg 475166fc8b Modified to be able to repeat Kevin Roth's problem 2003-10-22 11:12:30 +00:00
Daniel Stenberg 294adcae9d modified test 91 to look more like Kevin Roth's error case 2003-10-21 14:08:16 +00:00
Daniel Stenberg 1fd16e7b04 test case 91 added, an attempt to repeat a problem reported by Kevin Roth
on Oct 20, 2003.
2003-10-21 06:56:51 +00:00
Daniel Stenberg d70550f949 finally we support >128 letter passwords so this test was fixed to work 2003-10-17 09:28:32 +00:00
Daniel Stenberg 022996e5c7 Dirk Manske made the share-locking around DNS lookups a bit "looser" so that
multiple DNS lookups can run simultaneously faster. The downside is that
resolving the same host name now can be made at once from multiple threads,
but the upside is that threads now don't alwys have to wait for the others'
resolves. Test case 506 updated accordingly.
2003-10-12 13:57:41 +00:00
Daniel Stenberg f52534522c test case 508 added to test callback-based POST 2003-10-07 14:43:48 +00:00
Daniel Stenberg fcacd38036 Test 90 added: --anyauth that picks NTLM with a redirect and then another
NTLM request.
2003-09-15 22:29:41 +00:00
Daniel Stenberg b2ddfb54a7 test 89 verifies -L and ntlm authentication, as bug report #806328 claimed
it doesn't work. It works for me.
2003-09-15 21:41:45 +00:00
Daniel Stenberg 76b9631d03 test88, doing PUT with --digest now works 2003-09-15 21:11:47 +00:00
Daniel Stenberg e92b7c73bc test case 149 is here 2003-08-19 23:38:19 +00:00
Daniel Stenberg 0ea74e3255 switch off globbing to enable [] in file names for -T 2003-08-19 23:38:10 +00:00
Daniel Stenberg 3bd52e3cb1 check the upload 2003-08-19 23:37:40 +00:00
Daniel Stenberg c7f9c51fe6 teste multiple uploads in one command line 2003-08-19 23:36:22 +00:00
Daniel Stenberg f95de76789 test507 added 2003-08-19 09:36:47 +00:00
Daniel Stenberg b352ffca15 test87 verifies the new and better check for bad -o #[num] stuff 2003-08-14 13:37:32 +00:00
Daniel Stenberg beaea8cb25 corrected this test case 2003-08-14 11:51:22 +00:00
Daniel Stenberg 409ec90c85 test urlglobbing range requests 2003-08-14 11:50:58 +00:00
Daniel Stenberg 4d423eeabe test86 added 2003-08-14 11:50:40 +00:00
Daniel Stenberg b933639222 more auth tests 2003-08-12 08:19:23 +00:00
Daniel Stenberg 2f17615790 forgot the backslash 2003-08-11 12:26:18 +00:00
Daniel Stenberg fdf0c443c3 81 + 82 test NTLM proxy stuff 2003-08-11 12:23:33 +00:00
Daniel Stenberg d873ba8c9f added test80 2003-08-11 11:09:26 +00:00
Daniel Stenberg 8093338f39 tunnel through proxy, with both proxy and regular authentication 2003-08-11 11:09:03 +00:00
Daniel Stenberg a2b2d4cd5c added test 79, a basic test that fetches an FTP URL over a HTTP proxy 2003-08-11 10:12:35 +00:00
Daniel Stenberg 26f5c53be8 test case 506 added, written by Dirk Manske 2003-08-11 06:44:46 +00:00
Daniel Stenberg 6e4658c89d ftp-create-dirs test when MKD fails 2003-08-08 10:32:08 +00:00
Daniel Stenberg 2077e9365a --ftp-create-dirs test 2003-08-08 10:23:46 +00:00
Daniel Stenberg a9afe6aa84 new -z tests 2003-08-08 08:13:11 +00:00
Daniel Stenberg 6800c45104 fixed syntax error 2003-08-06 23:56:24 +00:00
Daniel Stenberg bf9a138276 more tests 2003-08-06 23:45:59 +00:00
Daniel Stenberg b3f9c636b9 new urlglob test 2003-08-06 23:10:58 +00:00
Daniel Stenberg 665a7a3848 505 was missing 2003-08-06 13:49:20 +00:00
Daniel Stenberg b9fdf3cc3b added test 146 for a ftp persitency test, as reported on the list 2003-08-05 13:00:00 +00:00
Daniel Stenberg c462601362 persistant connection test 2003-08-05 12:59:23 +00:00
Daniel Stenberg fdda786fa2 added test 73 2003-08-04 22:58:06 +00:00
Daniel Stenberg 831be4f4dd Verifies Jan Sundin's cookie bug, dated aug 4 2003. 2003-08-04 22:57:58 +00:00
Daniel Stenberg 3270ea55dd updated as the second proxy-auth header was a proof of a serious info leak
bug!!
2003-08-02 23:35:59 +00:00
Daniel Stenberg 2d41b735ec updated to match the recent ftp patch that makes it check for resumability 2003-07-30 07:52:02 +00:00
Daniel Stenberg 2fbe61960f Digest *OR* Basic authorization test 2003-07-28 22:17:37 +00:00
Daniel Stenberg 1361fc69b9 updated to the new ftp dir parsing code that allows a preceeding double
slash
2003-07-28 09:02:15 +00:00
Daniel Stenberg 9301bc3444 use the correct 'test71' file name for the temp file 2003-07-28 08:23:46 +00:00
Daniel Stenberg 76352c4e2d got a bug report on -F in config files, so I wrote up this test to verify
that is works... and it did! ;-)
2003-07-28 08:21:07 +00:00
Daniel Stenberg 968234e6ae the fixed skip-blanks in the FTP CWD code called for this adjustment 2003-07-20 00:19:44 +00:00
Daniel Stenberg c50a601f1a modified to work fine with the new persistant connection working test suite
HTTP server
2003-07-19 23:57:08 +00:00
Daniel Stenberg 634aef3895 updated to work with Dan Winship's NTLM domain stuff fix 2003-07-15 23:38:06 +00:00
Daniel Stenberg 8736c11d84 adjusted to the NTLM updates 2003-07-04 16:36:31 +00:00
Daniel Stenberg 79144eba99 new tests 2003-06-26 11:45:04 +00:00
Daniel Stenberg c832b2db5b fixed NTLM test 67, added test 68 for bad NTLM name/password 2003-06-13 08:03:45 +00:00
Daniel Stenberg e58f30b82a NTLM test case 2003-06-12 16:39:35 +00:00
Daniel Stenberg 654e3f1101 require the netrc_debug feature the same way we now can require SSL
present client-side
2003-06-12 16:38:14 +00:00
Daniel Stenberg bc942de6f1 Content-Length: now overrides other means of knowing when the stream has
ended.
2003-06-03 07:53:18 +00:00
Daniel Stenberg 1e14da5c60 more ftp testing using NLST and no contents and bad return code 2003-05-23 11:10:35 +00:00
Daniel Stenberg f488874ff5 test 66 returns one line of data with no header (HTTP) 2003-05-23 09:46:19 +00:00
Daniel Stenberg 1e7aa04040 Digest testing added 2003-05-22 22:36:22 +00:00
Daniel Stenberg e9154b2549 the proxy environment variables now may contain user name and password 2003-05-19 13:09:41 +00:00
Daniel Stenberg aa7420e109 send correct cookies when using a custom Host: 2003-05-02 09:12:26 +00:00
Daniel Stenberg a290d4b9db fixed the format slightly 2003-05-02 09:11:53 +00:00
Daniel Stenberg d166e85e0a FTP URL with type=a 2003-05-01 17:48:59 +00:00
Daniel Stenberg ee29dbdb8f Each test case now specifies which server(s) it needs, without relying on the
test number.
2003-04-30 20:25:39 +00:00
Daniel Stenberg 15f3f4c93f we say welcome to test 142 2003-04-30 20:08:01 +00:00
Daniel Stenberg 6932e94e0e verify that curl fails fine when an FTP URL with a too deep dir hierarchy
is used
2003-04-30 20:07:37 +00:00
Daniel Stenberg 37d1e9351e ok, make the test run ok too 2003-04-30 19:56:53 +00:00
Daniel Stenberg 4494c0dee0 various new cookie tests with a custom Host: header set 2003-04-30 19:49:51 +00:00
Daniel Stenberg 26afc604ac modified to work with modified code 2003-04-30 17:16:25 +00:00