Daniel Stenberg
9a2aed7d7a
Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled
...
CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if
the new URL would provide the resumed file. Test case 188 added to verify the
fix (together with existing test 99).
2004-10-06 13:37:12 +00:00
Daniel Stenberg
25bf23105d
Location: problem with bad original URL, identified in bug report #1029478
2004-09-16 21:28:38 +00:00
Daniel Stenberg
0ec4c66fba
fixed -F to support setting type= even on parts that aren't file-uploads
2004-09-10 21:47:52 +00:00
Daniel Stenberg
b8b56248bd
- Bug report #1025986 . When following a Location: with a custom Host: header
...
replacement, curl only replaced the Host: header on the initial request
and didn't replace it on the following ones. This resulted in requests with
two Host: headers.
Now, curl checks if the location is on the same host as the initial request
and then continues to replace the Host: header. And when it moves to another
host, it doesn't replace the Host: header but it also doesn't make the
second Host: header get used in the request.
This change is verified by the two new test cases 184 and 185.
2004-09-10 20:58:51 +00:00
Daniel Stenberg
d46e235c2a
added test 183 to verify that we properly send good Host: headers when
...
getting multiple URLs over a single proxy connection
2004-08-24 14:40:32 +00:00
Daniel Stenberg
b233c13dca
verify that transferring a zero byte FTP file results in a zero byte local
...
file
2004-08-23 14:41:19 +00:00
Daniel Stenberg
723bfe42e7
Roman Koifman pointed out that libcurl send Expect: 100-continue on POSTs and
...
PUTs even when told to use HTTP 1.0, which is not correct.
2004-08-23 12:34:55 +00:00
Daniel Stenberg
45197b188e
Roland Krikava's cookies over proxy fix.
2004-08-16 07:24:25 +00:00
Daniel Stenberg
0359ae8f40
test downloading from a server claiming negative content-length
2004-07-16 21:00:50 +00:00
Daniel Stenberg
185baf036b
NOBODY set TRUE after a POST makes a good HEAD now
2004-06-30 11:09:16 +00:00
Daniel Stenberg
7291772b1f
added test case 513
2004-06-21 14:08:48 +00:00
Daniel Stenberg
d7fe136d54
test 177 HTTP POST with --digest that gets a 302 response
2004-06-19 10:10:50 +00:00
Daniel Stenberg
daeb143177
test 176, use --ntlm and POST when the server doesn't require any auth
2004-06-15 09:20:04 +00:00
Daniel Stenberg
9f752120c0
added test case 175, use HTTP POST and DIGEST set but the server requires no
...
auth
2004-06-15 08:50:15 +00:00
Daniel Stenberg
2ed0728cef
added test 174, HTTP POST --anyauth to server without auth requirements.
...
An attempt to repeat a reported auth problem. Works for me!
2004-06-14 09:16:39 +00:00
Daniel Stenberg
e99d1e97de
test 173 added: HTTP RFC1867-formpost a file from stdin with "faked" filename
2004-06-04 12:24:47 +00:00
Daniel Stenberg
fd802db39f
initial support for "uploading" to file:// URLs
2004-05-25 21:47:29 +00:00
Daniel Stenberg
59f904d8de
Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE could
...
not be used both in one request. Fixed it and added test case 172 to verify.
2004-05-24 07:13:48 +00:00
Daniel Stenberg
755f98e768
While talking to host a.b.c, libcurl did wrongly not accept cookies that were
...
set to the domain .a.b.c (that is with a dot prefix). This is now fixed and
test case 171 verifies it.
2004-05-21 20:40:15 +00:00
Daniel Stenberg
ca6d430561
added test 170
2004-05-19 10:32:25 +00:00
Daniel Stenberg
fc6eff13b5
General HTTP authentication cleanup and fixes
2004-05-04 07:52:53 +00:00
Daniel Stenberg
0247642bb6
added test 166, formpost with white space in file name
2004-04-30 06:46:34 +00:00
Daniel Stenberg
8349dde0f1
Introducing IDN host name testing. Test case 165 requires an IDN-capable
...
libcurl.
2004-04-29 13:43:04 +00:00
Daniel Stenberg
84a322ab23
test 512 does some basic curl_easy_duphandle() testing
2004-04-29 10:57:10 +00:00
Daniel Stenberg
b9432d1296
test164 HTTP range with multiple ranges
2004-04-24 09:33:25 +00:00
Daniel Stenberg
47059f45fe
added test 163 - a simple test case that use -F field<file, to verify that
...
we can pass on "odd" characters (newline, CR, tab) like this.
2004-04-23 08:40:11 +00:00
Daniel Stenberg
2ff30d067c
- David Byron found and fixed a small bug with the --fail and authentication
...
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and
communicate with a proxy that requires basic authentication, the proxy
properly returns a 407, but the failure detection code doesn't realize it
should give up, so curl returns with exit code 0. Test case 162 verifies
this.
2004-04-22 20:07:41 +00:00
Daniel Stenberg
1d3f76df71
If only a partial file was transfered, we consider that a fatal problem so
...
we won't try to QUIT the control connection and risk "hanging" waiting for
a response. Test case 161 verifies this. The quit-sending function was
also made static.
2004-04-22 13:09:00 +00:00
Daniel Stenberg
0e31d41d4e
test160 - for a more controlled testing of the case where libcurl starts
...
to re-use a connection that is closed when re-used and libcurl should then
make a new fresh connection and use instead
2004-04-20 08:35:37 +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
75d66b9c62
test 153 tests Digest authorization and stale=true stuff
2004-03-31 11:51:21 +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
d6eb28400b
added test 99, very basic initial large file test
2004-03-01 16:18:40 +00:00
Daniel Stenberg
f9a6e7b68d
stop doing the weirdo symlinks
2004-02-12 14:39:28 +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
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
1d85f950bf
test 95 added, verifies my fix for bug report #848371
2003-11-25 09:06:33 +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
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
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
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
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
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
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
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
fdda786fa2
added test 73
2003-08-04 22:58:06 +00:00
Daniel Stenberg
2fbe61960f
Digest *OR* Basic authorization test
2003-07-28 22:17:37 +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
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
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
d166e85e0a
FTP URL with type=a
2003-05-01 17:48:59 +00:00
Daniel Stenberg
15f3f4c93f
we say welcome to test 142
2003-04-30 20:08:01 +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
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
136670c58a
three new ftp tests
2003-04-09 11:55:24 +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
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
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
87c5066242
test case 503 entered the dir
2002-12-13 16:17:27 +00:00
Daniel Stenberg
978541adc2
test 502, multi interface with file://
2002-12-13 13:39:39 +00:00
Daniel Stenberg
c1b369fd4c
500 + 501 added
2002-12-12 12:13:18 +00:00
Daniel Stenberg
9ae05c4d91
added test56, nearly 100KB big!
2002-12-10 13:01:05 +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
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