Daniel Stenberg
5506f8767c
Make the server include "Connection: close" in the headers of the replies
...
it actually will close. This is after all what HTTP 1.1 says a server should
do.
2004-04-19 08:41:36 +00:00
Daniel Stenberg
4f84e6d9e2
removed the fixed dir depth limit in the FTP code
2004-04-15 07:52:39 +00:00
Daniel Stenberg
aba6c2b89d
Added test case 511 in an attempt to repeat bug report #934666 "storage leak
...
in ftp.c", but it shows no leaking.
2004-04-14 06:30:37 +00:00
Daniel Stenberg
1e9cb272f1
added test 159, use --ntlm together with -0
2004-04-07 15:01:11 +00:00
Daniel Stenberg
72b1144b8c
getting only a 100 Continue response and nothing else, when talking HTTP,
...
is now treated as an error by libcurl
2004-04-07 14:27:54 +00:00
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
Daniel Stenberg
208374bcc9
Bryan Kemp's reported problems with curl and PUT from stdin and a faked
...
content-length made me add test case 60, that does exactly this, but it
seems to run fine...
2003-04-23 12:09:58 +00:00
Daniel Stenberg
f7c5b28e76
verify the new url parser fix
2003-04-11 16:22:27 +00:00
Daniel Stenberg
c8ecbda40b
new ftp tests
2003-04-10 11:43:47 +00:00
Daniel Stenberg
136670c58a
three new ftp tests
2003-04-09 11:55:24 +00:00
Daniel Stenberg
7fd91d70bd
adjusted the formpost testcases to the new boundary string construction
2003-04-04 12:30:35 +00:00
Daniel Stenberg
294569c502
new
2003-04-03 13:39:36 +00:00
Daniel Stenberg
e26b917661
kill the ftp server afterwards, it is just so messed up
2003-04-01 08:42:37 +00:00
Daniel Stenberg
a15b7691ca
no server needed
2003-03-15 17:12:46 +00:00
Daniel Stenberg
babb372eb9
This verifies that my fix for bug report #700275 works.
2003-03-12 14:04:23 +00:00
Daniel Stenberg
5b9b82c1cd
test58 added
2003-03-12 14:03:53 +00:00
Daniel Stenberg
d34a4b126e
test138 is for RETR without size and without a working SIZE
2003-02-26 17:09:47 +00:00
Daniel Stenberg
17cbbe3dc5
added a test case for RETR that doesn't get the size in the 150-reply
2003-02-26 16:56:00 +00:00
Daniel Stenberg
f81d027f60
test case 57 - verifies that the Content-Type extraction does not stop on
...
the first space anymore but cuts off the trailing spaces only.
Bug report #669059 .
2003-01-30 05:03:19 +00:00
Daniel Stenberg
94c5c7bd6d
added test 136
2003-01-09 16:48:51 +00:00
Daniel Stenberg
12cfc4c0b0
verify -u username: with ftp to use a blank password
2003-01-09 16:47:55 +00:00
Daniel Stenberg
a5dc4e32f2
removed junk
2002-12-16 15:32:37 +00:00
Daniel Stenberg
2b839853ec
Added test case 504, using multi interface and a local proxy without anything
...
listening on the port we use.
2002-12-16 15:30:10 +00:00
Daniel Stenberg
66b6cd68ed
better desc
2002-12-16 15:05:31 +00:00
Daniel Stenberg
0ef3d90838
mistake, this only requires http
2002-12-16 14:50:10 +00:00
Daniel Stenberg
87c5066242
test case 503 entered the dir
2002-12-13 16:17:27 +00:00
Daniel Stenberg
dff406a360
one slash too many
2002-12-13 13:41:28 +00:00
Daniel Stenberg
978541adc2
test 502, multi interface with file://
2002-12-13 13:39:39 +00:00
Daniel Stenberg
81af9674ed
corrected
2002-12-12 12:49:29 +00:00
Daniel Stenberg
c1b369fd4c
500 + 501 added
2002-12-12 12:13:18 +00:00
Daniel Stenberg
01fcd3c2d5
run tiny specific libcurl-testing tools
2002-12-12 12:12:01 +00:00
Daniel Stenberg
9ae05c4d91
added test56, nearly 100KB big!
2002-12-10 13:01:05 +00:00
Daniel Stenberg
264e6f6efd
Test case for sending insanely big HTTP requests. Mainly done this way to
...
make sure that it isn't all sent off in one single send() but instead
really tests the multiple-part-send logic.
2002-12-10 13:00:32 +00:00
Daniel Stenberg
219d88518c
Added test 55, follow location with a single slash in the original path.
...
This caused curl 7.10.1 to crash.
2002-10-21 12:02:44 +00:00
Daniel Stenberg
7f08cab73e
test 54 added, blank Location: field
2002-10-21 06:18:51 +00:00
Daniel Stenberg
b1ffb79a50
junk cookies test53 added
2002-10-17 07:03:26 +00:00
Daniel Stenberg
d08df97fe5
new redirect tests with ./ and ../
2002-10-04 14:06:12 +00:00
Daniel Stenberg
511ce35631
306 added
2002-09-13 10:57:07 +00:00
Daniel Stenberg
e9b7548dd6
request a page from HTTPS but get no headers
2002-09-13 10:56:23 +00:00
Daniel Stenberg
73f0e32d1a
new tests
2002-08-30 10:58:37 +00:00
Daniel Stenberg
c0790ccf08
updated for the new SSL -k
...
added two new tests to test the absense of -k to insecure SSL sites
2002-08-26 23:06:16 +00:00
Daniel Stenberg
8bcdda29d4
all those ignores
2002-08-08 23:13:51 +00:00
Daniel Stenberg
69f6d14b81
extended and improved cookie testing
2002-07-29 22:21:37 +00:00
Daniel Stenberg
109cbbe9c5
added test135 ftp byte-range download
2002-06-11 12:25:46 +00:00
Daniel Stenberg
c759d8427a
five new test cases for the netrc parsing
2002-05-21 22:14:08 +00:00
Daniel Stenberg
606e7fd744
updated error code
2002-04-10 14:05:52 +00:00
Daniel Stenberg
2b16b8604a
enough with stupidity, this is a test case that should fail and thus we
...
should use a proper command line that *fails* ;-O
2002-04-05 08:48:45 +00:00
Daniel Stenberg
f630929810
added test 48, verify -I, -d and -G in one command line
2002-04-05 08:42:00 +00:00
Daniel Stenberg
f1f993a25b
added test 128, ftp upload with --crlf
2002-03-20 10:50:12 +00:00
Daniel Stenberg
30d5401f31
corrected for 7.9.6
2002-03-19 14:53:28 +00:00
Daniel Stenberg
1fe1e39a88
test 32, try -d and -G
2002-03-18 22:26:22 +00:00