diff --git a/CHANGES b/CHANGES
index 22d356454e..07e0bcb271 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,12 @@
Changelog
+Dan F (22 January 2007)
+- Converted (most of) the test data files into genuine XML. A handful still
+ are not, due mainly to the lack of support for XML character entities
+ (e.g. & => & ). This will make it easier to validate test files using
+ tools like xmllint, as well as to edit and view them using XML tools.
+
Daniel (16 January 2007)
- Armel Asselin improved libcurl to behave a lot better when an easy handle
doing an FTP transfer is removed from a multi handle before completion. The
diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT
index 594addb131..22c8f5807b 100644
--- a/tests/FILEFORMAT
+++ b/tests/FILEFORMAT
@@ -1,7 +1,16 @@
- The file format of the test suite is a very simple and extendable format. All
-data for a single test case resides in a single ASCII file. Labels mark the
-beginning and the end of all sections. Each label must be written in its own
-line and is resembling XML/HTML.
+ The test suite's file format is very simple and extendable, closely
+resembling XML. All data for a single test case resides in a single
+ASCII file. Labels mark the beginning and the end of all sections, and each
+label must be written in its own line. Comments are either XML-style
+(enclosed with ) or C-style (beginning with #) and must appear
+on their own lines and not alongside actual test data. Most test data files
+are syntactically valid XML, although a few files are not (lack of
+support for character entities is the biggest omission).
+
+ The file begins with a 'testcase' tag, which encompasses the remainder of
+the file.
+
+
Each file is split up in three main sections: reply, client and verify. The
reply section is used for the server to know what to send as a reply for the
@@ -24,14 +33,14 @@ statistical/informational purposes.
-
-§data to sent to the client on its request and later verified that it arrived
+
+data to be sent to the client on its request and later verified that it arrived
safely. Set the nocheck=1 to prevent the test script to verify the arrival
of this data.
If the data contains 'swsclose' anywhere within the start and end tag, and
this is a HTTP test, then the connection will be closed by the server after
-this response is sent. If not, the connection will be kept persistant.
+this response is sent. If not, the connection will be kept persistent.
If the data contains 'swsbounce' anywhere within the start and end tag, the
HTTP server will detect if this is a second request using the same test and
@@ -55,7 +64,7 @@ B) The request was HTTP and included digest details, which adds 1000 to NUM
C) If a HTTP request is NTLM type-1, it adds 1001 to num
D) If a HTTP request is NTLM type-3, it adds 1002 to num
-
+
if the data is sent but this is what should be checked afterwards. If
'nonewline' is set, we will cut off the trailing newline of this given data
before comparing with the one actually received by the client
@@ -115,13 +124,15 @@ A list of features that MUST be present in the client/library for this test to
be able to run (if these features are not present, the test will be
SKIPPED). Features testable here are:
-SSL
-netrc_debug
-large_file
-idn
getrlimit
+GnuTLS
+idn
ipv6
+large_file
libz
+netrc_debug
+OpenSSL
+SSL
@@ -154,7 +165,7 @@ Set the given environment variables to the specified value before the actual
command is run, they are cleared again after the command has been run.
-
+
command line to run, there's a bunch of %variables that get replaced
accordingly.
@@ -172,13 +183,20 @@ argument that directs the output to a file. The --output is also not added if
the client/stdout section is used.
Available substitute variables include:
-%HOSTIP - IP address of the host running this test
+%HOSTIP - IPv6 address of the host running this test
%HOSTPORT - Port number of the HTTP server
+%HOST6IP - IPv6 address of the host running this test
+%HOST6PORT - IPv6 port number of the HTTP server
%HTTPSPORT - Port number of the HTTPS server
%FTPPORT - Port number of the FTP server
+%FTP6PORT - IPv6 port number of the FTP server
%FTPSPORT - Port number of the FTPS server
+%FTP2PORT - Port number of the FTP server 2
+%TFTPPORT - Port number of the TFTP server
+%TFTP6PORT - IPv6 port number of the TFTP server
%SRCDIR - Full path to the source dir
%PWD - Current directory
+%CURL - Path to the curl executable
@@ -200,28 +218,28 @@ example.
One regex per line that is removed from the protocol dumps before the
-comparison is made. This is very useful to remove dependencies on dynamicly
+comparison is made. This is very useful to remove dependencies on dynamically
changing protocol data such as port numbers or user-agent strings.
One perl op per line that operates on the protocol dump. This is pretty
advanced. Example: "s/^EPRT .*/EPRT stripped/"
-
+
the protocol dump curl should transmit, if 'nonewline' is set, we will cut
off the trailing newline of this given data before comparing with the one
actually sent by the client
-
-This verfies that this data was passed to stdout.
+
+This verifies that this data was passed to stdout.
-Use the "mode=text" attribute if the output is in text mode on platforms that
+Use the "mode="text"" attribute if the output is in text mode on platforms that
have a text/binary difference.
-
+
The file's contents must be identical to this after the test is complete.
-Use the "mode=text" attribute if the output is in text mode on platforms that
+Use the "mode="text" attribute if the output is in text mode on platforms that
have a text/binary difference.
@@ -235,3 +253,5 @@ the contents of the upload data curl should have sent
disable - disables the valgrind log check for this test
+
+
diff --git a/tests/data/test1 b/tests/data/test1
index 6f88024cff..3c9a90ea75 100644
--- a/tests/data/test1
+++ b/tests/data/test1
@@ -1,3 +1,4 @@
+
HTTP
@@ -20,7 +21,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -51,3 +52,4 @@ Accept: */*
+
diff --git a/tests/data/test10 b/tests/data/test10
index f9fcbd7177..25d5b6ffac 100644
--- a/tests/data/test10
+++ b/tests/data/test10
@@ -1,3 +1,4 @@
+
HTTP
@@ -63,3 +64,4 @@ the
feature
+
diff --git a/tests/data/test100 b/tests/data/test100
index 930c70ccdd..1829b0500b 100644
--- a/tests/data/test100
+++ b/tests/data/test100
@@ -1,3 +1,4 @@
+
FTP
@@ -55,3 +56,4 @@ LIST
QUIT
+
diff --git a/tests/data/test101 b/tests/data/test101
index 3109eef182..74886af8cb 100644
--- a/tests/data/test101
+++ b/tests/data/test101
@@ -1,3 +1,4 @@
+
FTP
@@ -55,3 +56,4 @@ LIST
QUIT
+
diff --git a/tests/data/test102 b/tests/data/test102
index 57df47e1d3..99f0e3fc1e 100644
--- a/tests/data/test102
+++ b/tests/data/test102
@@ -1,3 +1,4 @@
+
FTP
@@ -48,3 +49,4 @@ RETR 102
QUIT
+
diff --git a/tests/data/test103 b/tests/data/test103
index 676cdf0e68..0cc557b981 100644
--- a/tests/data/test103
+++ b/tests/data/test103
@@ -1,3 +1,4 @@
+
FTP
@@ -50,3 +51,4 @@ RETR 103
QUIT
+
diff --git a/tests/data/test104 b/tests/data/test104
index 03f9679717..2806e75acc 100644
--- a/tests/data/test104
+++ b/tests/data/test104
@@ -1,3 +1,4 @@
+
FTP
@@ -39,3 +40,4 @@ REST 0
QUIT
+
diff --git a/tests/data/test105 b/tests/data/test105
index eb18e1ac31..d3a0a4f2d2 100644
--- a/tests/data/test105
+++ b/tests/data/test105
@@ -1,3 +1,4 @@
+
FTP
@@ -49,3 +50,4 @@ RETR 103
QUIT
+
diff --git a/tests/data/test106 b/tests/data/test106
index deb623d220..fcf99d11ec 100644
--- a/tests/data/test106
+++ b/tests/data/test106
@@ -1,3 +1,4 @@
+
FTP
@@ -46,3 +47,4 @@ RETR 106
QUIT
+
diff --git a/tests/data/test107 b/tests/data/test107
index 8a487ba8e7..c5f611d3c5 100644
--- a/tests/data/test107
+++ b/tests/data/test107
@@ -1,3 +1,4 @@
+
FTP
@@ -47,3 +48,4 @@ STOR 107
QUIT
+
diff --git a/tests/data/test108 b/tests/data/test108
index eabe92e107..535339236c 100644
--- a/tests/data/test108
+++ b/tests/data/test108
@@ -1,3 +1,4 @@
+
FTP
@@ -52,3 +53,4 @@ Moooooooooooo
upload this
+
diff --git a/tests/data/test109 b/tests/data/test109
index f66fa92673..88b139989e 100644
--- a/tests/data/test109
+++ b/tests/data/test109
@@ -1,3 +1,4 @@
+
FTP
@@ -46,3 +47,4 @@ Moooooooooooo
upload this
+
diff --git a/tests/data/test11 b/tests/data/test11
index 84baa90760..f86c834e2e 100644
--- a/tests/data/test11
+++ b/tests/data/test11
@@ -1,3 +1,4 @@
+
HTTP
@@ -72,3 +73,4 @@ Accept: */*
+
diff --git a/tests/data/test110 b/tests/data/test110
index 6e7df1c68c..3a1dbc64a2 100644
--- a/tests/data/test110
+++ b/tests/data/test110
@@ -1,3 +1,4 @@
+
FTP
@@ -50,3 +51,4 @@ RETR 110
QUIT
+
diff --git a/tests/data/test111 b/tests/data/test111
index 25e127438a..f0479d83f6 100644
--- a/tests/data/test111
+++ b/tests/data/test111
@@ -1,3 +1,4 @@
+
FTP
@@ -43,3 +44,4 @@ SIZE 111
QUIT
+
diff --git a/tests/data/test112 b/tests/data/test112
index 6ab189706f..0f743083da 100644
--- a/tests/data/test112
+++ b/tests/data/test112
@@ -1,3 +1,4 @@
+
FTP
@@ -47,3 +48,4 @@ QUIT
worx?
+
diff --git a/tests/data/test113 b/tests/data/test113
index c7b0e4f343..39d200e52b 100644
--- a/tests/data/test113
+++ b/tests/data/test113
@@ -1,3 +1,4 @@
+
FTP
@@ -33,3 +34,4 @@ REPLY USER 314 bluah you fewl!
USER anonymous
+
diff --git a/tests/data/test114 b/tests/data/test114
index 0b7fa43250..142dd73463 100644
--- a/tests/data/test114
+++ b/tests/data/test114
@@ -1,3 +1,4 @@
+
FTP
@@ -34,3 +35,4 @@ USER anonymous
PASS curl_by_daniel@haxx.se
+
diff --git a/tests/data/test115 b/tests/data/test115
index a3709ad55e..d2d1f035fd 100644
--- a/tests/data/test115
+++ b/tests/data/test115
@@ -1,3 +1,4 @@
+
FTP
@@ -40,3 +41,4 @@ PASV
QUIT
+
diff --git a/tests/data/test116 b/tests/data/test116
index 6e517aea07..59a28f4421 100644
--- a/tests/data/test116
+++ b/tests/data/test116
@@ -1,3 +1,4 @@
+
FTP
@@ -42,3 +43,4 @@ PWD
QUIT
+
diff --git a/tests/data/test117 b/tests/data/test117
index eb31b33959..90df955ecf 100644
--- a/tests/data/test117
+++ b/tests/data/test117
@@ -1,3 +1,4 @@
+
FTP
@@ -40,3 +41,4 @@ TYPE I
QUIT
+
diff --git a/tests/data/test118 b/tests/data/test118
index 122cff23e4..68e699115d 100644
--- a/tests/data/test118
+++ b/tests/data/test118
@@ -1,3 +1,4 @@
+
FTP
@@ -44,3 +45,4 @@ RETR 118
QUIT
+
diff --git a/tests/data/test119 b/tests/data/test119
index 4de6e44d43..de6be43596 100644
--- a/tests/data/test119
+++ b/tests/data/test119
@@ -1,3 +1,4 @@
+
FTP
@@ -46,3 +47,4 @@ RETR 119
QUIT
+
diff --git a/tests/data/test12 b/tests/data/test12
index e49676a209..e7acd2dac2 100644
--- a/tests/data/test12
+++ b/tests/data/test12
@@ -1,3 +1,4 @@
+
HTTP
@@ -51,3 +52,4 @@ Accept: */*
+
diff --git a/tests/data/test120 b/tests/data/test120
index c55f658cfe..bf1ab0bccc 100644
--- a/tests/data/test120
+++ b/tests/data/test120
@@ -1,3 +1,4 @@
+
FTP
@@ -49,3 +50,4 @@ DELE file
QUIT
+
diff --git a/tests/data/test121 b/tests/data/test121
index 7db404b6d7..2bed51914d 100644
--- a/tests/data/test121
+++ b/tests/data/test121
@@ -1,3 +1,4 @@
+
FTP
@@ -47,3 +48,4 @@ DELE after_transfer
QUIT
+
diff --git a/tests/data/test122 b/tests/data/test122
index 32e1a9ffbd..70c37454ad 100644
--- a/tests/data/test122
+++ b/tests/data/test122
@@ -1,3 +1,4 @@
+
FTP
@@ -41,3 +42,4 @@ SIZE 122
QUIT
+
diff --git a/tests/data/test123 b/tests/data/test123
index aa705eae93..34f2aa000a 100644
--- a/tests/data/test123
+++ b/tests/data/test123
@@ -1,3 +1,4 @@
+
FTP
@@ -36,3 +37,4 @@ TYPE I
QUIT
+
diff --git a/tests/data/test124 b/tests/data/test124
index 03600dc9d8..d2da7750b3 100644
--- a/tests/data/test124
+++ b/tests/data/test124
@@ -1,3 +1,4 @@
+
FTP
@@ -43,3 +44,4 @@ RETR 124
QUIT
+
diff --git a/tests/data/test125 b/tests/data/test125
index f5d69e4d1f..1559c9ea8d 100644
--- a/tests/data/test125
+++ b/tests/data/test125
@@ -1,3 +1,4 @@
+
FTP
@@ -37,3 +38,4 @@ CWD path
QUIT
+
diff --git a/tests/data/test126 b/tests/data/test126
index 9efe3d7b3e..39a312cfba 100644
--- a/tests/data/test126
+++ b/tests/data/test126
@@ -1,3 +1,4 @@
+
FTP
@@ -44,3 +45,4 @@ RETR 126
QUIT
+
diff --git a/tests/data/test127 b/tests/data/test127
index ec81e72be0..773f9630f8 100644
--- a/tests/data/test127
+++ b/tests/data/test127
@@ -1,3 +1,4 @@
+
FTP
@@ -42,3 +43,4 @@ RETR 127
QUIT
+
diff --git a/tests/data/test128 b/tests/data/test128
index d2b58c9cb2..aca500b3b6 100644
--- a/tests/data/test128
+++ b/tests/data/test128
@@ -1,3 +1,4 @@
+
FTP
@@ -53,3 +54,4 @@ the
--crlf option
+
diff --git a/tests/data/test13 b/tests/data/test13
index 3af6ff9b9c..23f9cad804 100644
--- a/tests/data/test13
+++ b/tests/data/test13
@@ -1,3 +1,4 @@
+
HTTP
@@ -40,3 +41,4 @@ Accept: */*
+
diff --git a/tests/data/test130 b/tests/data/test130
index 34406ec9bf..c1e9cd998a 100644
--- a/tests/data/test130
+++ b/tests/data/test130
@@ -1,3 +1,4 @@
+
FTP
@@ -64,3 +65,4 @@ LIST
QUIT
+
diff --git a/tests/data/test131 b/tests/data/test131
index 14bdae3e33..d14bea47c1 100644
--- a/tests/data/test131
+++ b/tests/data/test131
@@ -1,3 +1,4 @@
+
FTP
@@ -65,3 +66,4 @@ LIST
QUIT
+
diff --git a/tests/data/test132 b/tests/data/test132
index bf09ee72d6..c03e8ed419 100644
--- a/tests/data/test132
+++ b/tests/data/test132
@@ -1,3 +1,4 @@
+
FTP
@@ -64,3 +65,4 @@ LIST
QUIT
+
diff --git a/tests/data/test133 b/tests/data/test133
index f87229c34b..6016a64f15 100644
--- a/tests/data/test133
+++ b/tests/data/test133
@@ -1,3 +1,4 @@
+
FTP
@@ -64,3 +65,4 @@ LIST
QUIT
+
diff --git a/tests/data/test134 b/tests/data/test134
index ced21d7890..a18cbaa55f 100644
--- a/tests/data/test134
+++ b/tests/data/test134
@@ -1,3 +1,4 @@
+
FTP
@@ -64,3 +65,4 @@ LIST
QUIT
+
diff --git a/tests/data/test135 b/tests/data/test135
index 0ac1c59211..9a3d098d37 100644
--- a/tests/data/test135
+++ b/tests/data/test135
@@ -1,3 +1,4 @@
+
FTP
@@ -14,7 +15,7 @@ Range
0123456789abcdef
0123456789abcdef
-
+
0123456789abc
@@ -49,3 +50,4 @@ RETR 135
QUIT
+
diff --git a/tests/data/test136 b/tests/data/test136
index ea8a651d33..25940b50d8 100644
--- a/tests/data/test136
+++ b/tests/data/test136
@@ -1,3 +1,4 @@
+
FTP
@@ -38,3 +39,4 @@ RETR 136
QUIT
+
diff --git a/tests/data/test137 b/tests/data/test137
index d7475f843c..816872fd2f 100644
--- a/tests/data/test137
+++ b/tests/data/test137
@@ -1,3 +1,4 @@
+
# Server-side
@@ -36,3 +37,4 @@ RETR 137
QUIT
+
diff --git a/tests/data/test138 b/tests/data/test138
index 57577c2d7c..46b7872130 100644
--- a/tests/data/test138
+++ b/tests/data/test138
@@ -1,3 +1,4 @@
+
# Server-side
@@ -39,3 +40,4 @@ RETR 138
QUIT
+
diff --git a/tests/data/test139 b/tests/data/test139
index 052d1f06be..68cb8b2502 100644
--- a/tests/data/test139
+++ b/tests/data/test139
@@ -1,3 +1,4 @@
+
# Server-side
@@ -36,3 +37,4 @@ RETR 139
QUIT
+
diff --git a/tests/data/test14 b/tests/data/test14
index f10c6f488a..926e89cf5d 100644
--- a/tests/data/test14
+++ b/tests/data/test14
@@ -1,3 +1,4 @@
+
HTTP
@@ -40,3 +41,4 @@ Accept: */*
+
diff --git a/tests/data/test140 b/tests/data/test140
index c030694ce4..a2be1ffa43 100644
--- a/tests/data/test140
+++ b/tests/data/test140
@@ -1,3 +1,4 @@
+
# Server-side
@@ -31,3 +32,4 @@ MDTM 140
QUIT
+
diff --git a/tests/data/test141 b/tests/data/test141
index 65be0474b1..f115b02ee6 100644
--- a/tests/data/test141
+++ b/tests/data/test141
@@ -1,3 +1,4 @@
+
# Server-side
@@ -37,3 +38,4 @@ QUIT
Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT
+
diff --git a/tests/data/test142 b/tests/data/test142
index 2061c9200a..eb8583ffae 100644
--- a/tests/data/test142
+++ b/tests/data/test142
@@ -1,3 +1,4 @@
+
# Server-side
@@ -181,3 +182,4 @@ RETR 142
QUIT
+
diff --git a/tests/data/test143 b/tests/data/test143
index 157bdd9ead..237ee27eae 100644
--- a/tests/data/test143
+++ b/tests/data/test143
@@ -1,3 +1,4 @@
+
# Server-side
@@ -33,3 +34,4 @@ RETR 143
QUIT
+
diff --git a/tests/data/test144 b/tests/data/test144
index e47baf2096..3b03a7880e 100644
--- a/tests/data/test144
+++ b/tests/data/test144
@@ -1,3 +1,4 @@
+
# Server-side
@@ -38,3 +39,4 @@ NLST
QUIT
+
diff --git a/tests/data/test145 b/tests/data/test145
index b279bdaa41..b97bedf42a 100644
--- a/tests/data/test145
+++ b/tests/data/test145
@@ -1,3 +1,4 @@
+
# Server-side
@@ -41,3 +42,4 @@ NLST
QUIT
+
diff --git a/tests/data/test146 b/tests/data/test146
index 2d1940bc8f..94ff997adc 100644
--- a/tests/data/test146
+++ b/tests/data/test146
@@ -1,3 +1,4 @@
+
# Server-side
@@ -44,3 +45,4 @@ RETR 146
QUIT
+
diff --git a/tests/data/test147 b/tests/data/test147
index b92c75106f..70bb762133 100644
--- a/tests/data/test147
+++ b/tests/data/test147
@@ -1,3 +1,4 @@
+
# Server-side
@@ -46,3 +47,4 @@ RETR 147
QUIT
+
diff --git a/tests/data/test148 b/tests/data/test148
index 5e1f78a10c..e89cc82d33 100644
--- a/tests/data/test148
+++ b/tests/data/test148
@@ -1,3 +1,4 @@
+
# Server-side
@@ -39,3 +40,4 @@ MKD attempt
QUIT
+
diff --git a/tests/data/test149 b/tests/data/test149
index 9195e19a97..5c21b3289d 100644
--- a/tests/data/test149
+++ b/tests/data/test149
@@ -1,3 +1,4 @@
+
# Server-side
@@ -44,3 +45,4 @@ QUIT
send away this contents
+
diff --git a/tests/data/test15 b/tests/data/test15
index e0a82826f8..737ed419b8 100644
--- a/tests/data/test15
+++ b/tests/data/test15
@@ -1,3 +1,4 @@
+
HTTP
@@ -7,7 +8,7 @@ HTTP GET
# Server-side
-
+
HTTP/1.4 200 OK
Fake: yes
Fake: yes
@@ -53,3 +54,4 @@ Accept: */*
+
diff --git a/tests/data/test150 b/tests/data/test150
index 46c556e972..fd2f5a1fa3 100644
--- a/tests/data/test150
+++ b/tests/data/test150
@@ -1,10 +1,13 @@
-# Server-side
+
+
+
-# no in this test since we have NTLM from the start
+
-# This is supposed to be returned when the server gets a first
-# Authorization: NTLM line passed-in from the client
HTTP/1.1 401 Now gimme that second request of crap
Server: Microsoft-IIS/5.0
@@ -84,3 +87,4 @@ Accept: */*
+
diff --git a/tests/data/test151 b/tests/data/test151
index 82a0e108d8..b9430b83b9 100644
--- a/tests/data/test151
+++ b/tests/data/test151
@@ -1,3 +1,4 @@
+
# Server-side
@@ -37,3 +38,4 @@ Accept: */*
+
diff --git a/tests/data/test152 b/tests/data/test152
index 12ba29c98c..d2b77ff8c7 100644
--- a/tests/data/test152
+++ b/tests/data/test152
@@ -1,6 +1,7 @@
+
# Server-side
-
+
HTTP/1.0 401 BAD BOY
Server: swsclose
Content-Type: text/html
@@ -40,3 +41,4 @@ Accept: */*
22
+
diff --git a/tests/data/test153 b/tests/data/test153
index 51137b38f9..aef165ef3d 100644
--- a/tests/data/test153
+++ b/tests/data/test153
@@ -1,3 +1,4 @@
+
# Server-side
# reply back and ask for Digest auth
@@ -118,3 +119,4 @@ Content-Length: 30
This IS the second real page!
+
diff --git a/tests/data/test154 b/tests/data/test154
index e3d8770828..5a79be3801 100644
--- a/tests/data/test154
+++ b/tests/data/test154
@@ -1,3 +1,4 @@
+
# Server-side
@@ -92,3 +93,4 @@ line three
four is the number of lines
+
diff --git a/tests/data/test155 b/tests/data/test155
index 0ddace228f..50e6e9c76c 100644
--- a/tests/data/test155
+++ b/tests/data/test155
@@ -1,3 +1,4 @@
+
# Server-side
@@ -123,3 +124,4 @@ line three
four is the number of lines
+
diff --git a/tests/data/test156 b/tests/data/test156
index 67deb08eed..bbc94262ac 100644
--- a/tests/data/test156
+++ b/tests/data/test156
@@ -1,3 +1,4 @@
+
# Server-side
@@ -48,3 +49,4 @@ line three
four is the number of lines
+
diff --git a/tests/data/test157 b/tests/data/test157
index 67cf26c95b..33708fc0a2 100644
--- a/tests/data/test157
+++ b/tests/data/test157
@@ -1,3 +1,4 @@
+
# Server-side
@@ -35,3 +36,4 @@ Accept: */*
+
diff --git a/tests/data/test158 b/tests/data/test158
index f3aaa7ebb5..7f9c6e744b 100644
--- a/tests/data/test158
+++ b/tests/data/test158
@@ -1,3 +1,4 @@
+
# Server-side
@@ -46,3 +47,4 @@ daniel
52
+
diff --git a/tests/data/test159 b/tests/data/test159
index 0bb4d89cc9..245911de4c 100644
--- a/tests/data/test159
+++ b/tests/data/test159
@@ -1,10 +1,12 @@
+
# Server-side
-# no in this test since we have NTLM from the start
+
-# This is supposed to be returned when the server gets a first
-# Authorization: NTLM line passed-in from the client
HTTP/1.1 401 Now gimme that second request of crap
Server: Microsoft-IIS/5.0
@@ -84,3 +86,4 @@ Accept: */*
+
diff --git a/tests/data/test16 b/tests/data/test16
index 7d2a8b4061..142cecc805 100644
--- a/tests/data/test16
+++ b/tests/data/test16
@@ -1,3 +1,4 @@
+
HTTP
@@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test160 b/tests/data/test160
index c831cce1f0..b20df6dc99 100644
--- a/tests/data/test160
+++ b/tests/data/test160
@@ -1,6 +1,7 @@
+
# Server-side
-
+
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Length: 9
@@ -62,3 +63,4 @@ Accept: */*
+
diff --git a/tests/data/test161 b/tests/data/test161
index cc2d3f1715..7a7fb8cbe6 100644
--- a/tests/data/test161
+++ b/tests/data/test161
@@ -1,3 +1,4 @@
+
# Server-side
@@ -37,3 +38,4 @@ RETR 161
18
+
diff --git a/tests/data/test162 b/tests/data/test162
index e0d602429b..b73c3bba61 100644
--- a/tests/data/test162
+++ b/tests/data/test162
@@ -1,6 +1,7 @@
+
# Server-side
-
+
HTTP/1.0 407 BAD BOY
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
Server: swsclose
@@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
22
+
diff --git a/tests/data/test163 b/tests/data/test163
index b87504e440..8659410c52 100644
--- a/tests/data/test163
+++ b/tests/data/test163
@@ -1,3 +1,4 @@
+
# Server-side
@@ -69,3 +70,4 @@ curl
------------------------------c2d1767eb6ac--
+
diff --git a/tests/data/test164 b/tests/data/test164
index 3aa03c4819..958403eb1f 100644
--- a/tests/data/test164
+++ b/tests/data/test164
@@ -1,3 +1,4 @@
+
# Server-side
# This particular response is an exact excerpt from an actual Apache
# server when asked for a 0-10,12-15 range.
@@ -56,3 +57,4 @@ Accept: */*
+
diff --git a/tests/data/test165 b/tests/data/test165
index 20ef32d38d..812f1ef3a0 100644
--- a/tests/data/test165
+++ b/tests/data/test165
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test166 b/tests/data/test166
index 0e915f9e02..274c0ce7bf 100644
--- a/tests/data/test166
+++ b/tests/data/test166
@@ -1,3 +1,4 @@
+
# Server-side
@@ -50,3 +51,4 @@ data inside the file
------------------------------b0b3d6d23991--
+
diff --git a/tests/data/test167 b/tests/data/test167
index 6fa5b1bd34..1667f3f8e3 100644
--- a/tests/data/test167
+++ b/tests/data/test167
@@ -1,3 +1,4 @@
+
# Server-side
@@ -64,3 +65,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test168 b/tests/data/test168
index 6f93ebab80..d867099ae8 100644
--- a/tests/data/test168
+++ b/tests/data/test168
@@ -1,3 +1,4 @@
+
# Server-side
@@ -85,3 +86,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test169 b/tests/data/test169
index 47139f81f6..0308ef54c7 100644
--- a/tests/data/test169
+++ b/tests/data/test169
@@ -1,3 +1,4 @@
+
# Server-side
@@ -112,3 +113,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test17 b/tests/data/test17
index 54c5910841..148b854644 100644
--- a/tests/data/test17
+++ b/tests/data/test17
@@ -1,3 +1,4 @@
+
HTTP
@@ -50,3 +51,4 @@ Accept: */*
+
diff --git a/tests/data/test170 b/tests/data/test170
index 4b957a578b..ec9116a672 100644
--- a/tests/data/test170
+++ b/tests/data/test170
@@ -1,3 +1,4 @@
+
# Server-side
@@ -39,3 +40,4 @@ Content-Length: 0
52
+
diff --git a/tests/data/test171 b/tests/data/test171
index 2cd477f700..270c2fb38d 100644
--- a/tests/data/test171
+++ b/tests/data/test171
@@ -1,3 +1,4 @@
+
# Server-side
@@ -38,7 +39,7 @@ Accept: */*
Proxy-Connection: Keep-Alive
-
+
# Netscape HTTP Cookie File
# http://curlm.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
@@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
.z.x.com TRUE / FALSE 0 XToken xt
+
diff --git a/tests/data/test172 b/tests/data/test172
index 3fec8300a4..f4b617cd94 100644
--- a/tests/data/test172
+++ b/tests/data/test172
@@ -1,3 +1,4 @@
+
# Server-side
@@ -44,3 +45,4 @@ Cookie: nodomain=value; partmatch=present; tool=curl; name=fool
+
diff --git a/tests/data/test173 b/tests/data/test173
index 0050e5cccb..cbe47a3fce 100644
--- a/tests/data/test173
+++ b/tests/data/test173
@@ -1,3 +1,4 @@
+
# Server-side
@@ -69,3 +70,4 @@ line8
------------------------------5dbea401cd8c--
+
diff --git a/tests/data/test174 b/tests/data/test174
index b14d39b1ce..ea2771e37f 100644
--- a/tests/data/test174
+++ b/tests/data/test174
@@ -1,3 +1,4 @@
+
# Server-side
@@ -30,7 +31,7 @@ http://%HOSTIP:%HTTPPORT/174 -u testuser:testpass --anyauth -d "junkelijunk"
^User-Agent:.*
-
+
POST /174 HTTP/1.1
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
Host: 127.0.0.1:%HTTPPORT
@@ -41,3 +42,4 @@ Content-Type: application/x-www-form-urlencoded
junkelijunk
+
diff --git a/tests/data/test175 b/tests/data/test175
index db8f8a88a5..c793a2e1b4 100644
--- a/tests/data/test175
+++ b/tests/data/test175
@@ -1,3 +1,4 @@
+
# Server-side
@@ -53,7 +54,7 @@ http://%HOSTIP:%HTTPPORT/175 -u auser:apasswd --digest -d "junkelijunk"
^User-Agent:.*
-
+
POST /175 HTTP/1.1
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
Host: 127.0.0.1:%HTTPPORT
@@ -71,3 +72,4 @@ Content-Type: application/x-www-form-urlencoded
junkelijunk
+
diff --git a/tests/data/test176 b/tests/data/test176
index f197367d70..ab5e2c347f 100644
--- a/tests/data/test176
+++ b/tests/data/test176
@@ -1,3 +1,4 @@
+
# Server-side
# the first request has NTLM type-1 included, and then the 1001 is returned
@@ -56,7 +57,7 @@ http://%HOSTIP:%HTTPPORT/176 -u auser:apasswd --ntlm -d "junkelijunk"
^User-Agent:.*
-
+
POST /176 HTTP/1.1
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
@@ -75,3 +76,4 @@ Content-Type: application/x-www-form-urlencoded
junkelijunk
+
diff --git a/tests/data/test177 b/tests/data/test177
index 989eeb146f..79a4e51d58 100644
--- a/tests/data/test177
+++ b/tests/data/test177
@@ -1,3 +1,4 @@
+
# Server-side
@@ -38,3 +39,4 @@ Content-Type: application/x-www-form-urlencoded
+
diff --git a/tests/data/test178 b/tests/data/test178
index efb56c0a4e..f90fd7462c 100644
--- a/tests/data/test178
+++ b/tests/data/test178
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -39,3 +40,4 @@ Accept: */*
+
diff --git a/tests/data/test179 b/tests/data/test179
index 6d2249ee18..a86f04e7e8 100644
--- a/tests/data/test179
+++ b/tests/data/test179
@@ -1,3 +1,4 @@
+
# Server-side
@@ -45,3 +46,4 @@ Cookie: moo2=indeed
+
diff --git a/tests/data/test18 b/tests/data/test18
index d235ffa412..0d3faeb478 100644
--- a/tests/data/test18
+++ b/tests/data/test18
@@ -1,3 +1,4 @@
+
HTTP
@@ -7,7 +8,7 @@ HTTP GET
# Server-side
-
+
HTTP/1.1 200 OK
Funny-head: yesyes
Content-Length: 4
@@ -86,3 +87,4 @@ Content-Length: 4
hoo
+
diff --git a/tests/data/test180 b/tests/data/test180
index d759397ca8..2d007d17ae 100644
--- a/tests/data/test180
+++ b/tests/data/test180
@@ -1,3 +1,4 @@
+
HTTP/1.0 200 OK swsclose
@@ -55,3 +56,4 @@ the
feature
+
diff --git a/tests/data/test181 b/tests/data/test181
index 6f2a375c2c..aa145f0cb1 100644
--- a/tests/data/test181
+++ b/tests/data/test181
@@ -1,3 +1,4 @@
+
HTTP/1.0 200 OK swsclose
@@ -56,3 +57,4 @@ the
feature
+
diff --git a/tests/data/test182 b/tests/data/test182
index 9d13a6a245..0db14b3b88 100644
--- a/tests/data/test182
+++ b/tests/data/test182
@@ -1,6 +1,7 @@
+
# Server-side
-
+
0
@@ -33,3 +34,4 @@ RETR 182
QUIT
+
diff --git a/tests/data/test183 b/tests/data/test183
index f7e54fa341..cf20083f98 100644
--- a/tests/data/test183
+++ b/tests/data/test183
@@ -1,3 +1,4 @@
+
# Server-side
@@ -48,3 +49,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test184 b/tests/data/test184
index cd8de6315f..3f1403bb3a 100644
--- a/tests/data/test184
+++ b/tests/data/test184
@@ -1,3 +1,4 @@
+
# Server-side
@@ -67,3 +68,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test185 b/tests/data/test185
index 9799c61c70..3ba31f888f 100644
--- a/tests/data/test185
+++ b/tests/data/test185
@@ -1,3 +1,4 @@
+
# Server-side
@@ -67,3 +68,4 @@ Host: another.visitor.stay.a.while.stay.foreeeeeever
+
diff --git a/tests/data/test186 b/tests/data/test186
index 763c6c805c..682fd00f8e 100644
--- a/tests/data/test186
+++ b/tests/data/test186
@@ -1,3 +1,4 @@
+
# Server-side
@@ -52,3 +53,4 @@ Content-Type: text/html
------------------------------212d9006ceb5--
+
diff --git a/tests/data/test187 b/tests/data/test187
index 2919164f5d..95a325fe5e 100644
--- a/tests/data/test187
+++ b/tests/data/test187
@@ -1,3 +1,4 @@
+
# Server-side
@@ -65,3 +66,4 @@ Accept: */*
+
diff --git a/tests/data/test188 b/tests/data/test188
index f6eded22bd..f831cc4549 100644
--- a/tests/data/test188
+++ b/tests/data/test188
@@ -1,3 +1,4 @@
+
# Server-side
@@ -64,3 +65,4 @@ Accept: */*
+
diff --git a/tests/data/test189 b/tests/data/test189
index 1885c57e40..7e49e1eea6 100644
--- a/tests/data/test189
+++ b/tests/data/test189
@@ -1,3 +1,4 @@
+
# Server-side
@@ -65,3 +66,4 @@ Accept: */*
33
+
diff --git a/tests/data/test19 b/tests/data/test19
index 9a40db2edd..aba75d3ec0 100644
--- a/tests/data/test19
+++ b/tests/data/test19
@@ -1,3 +1,4 @@
+
HTTP
@@ -30,3 +31,4 @@ attempt connect to non-listening socket
7
+
diff --git a/tests/data/test190 b/tests/data/test190
index ab241a760b..b5c17850ec 100644
--- a/tests/data/test190
+++ b/tests/data/test190
@@ -1,3 +1,4 @@
+
# Server-side
moooooooo
@@ -35,3 +36,4 @@ PWD
CWD path
+
diff --git a/tests/data/test191 b/tests/data/test191
index 91bc24526f..090d4c5b69 100644
--- a/tests/data/test191
+++ b/tests/data/test191
@@ -1,3 +1,4 @@
+
# Server-side
@@ -31,3 +32,4 @@ RETR 191
QUIT
+
diff --git a/tests/data/test192 b/tests/data/test192
index e29cdcbc75..21e15d1a48 100644
--- a/tests/data/test192
+++ b/tests/data/test192
@@ -1,7 +1,8 @@
+
#
# Server-side
-
+
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Length: 8
@@ -48,3 +49,4 @@ monster
1
+
diff --git a/tests/data/test193 b/tests/data/test193
index 7c53de6c88..7e0c0b1cd5 100644
--- a/tests/data/test193
+++ b/tests/data/test193
@@ -1,7 +1,8 @@
+
#
# Server-side
-
+
HTTP/1.1 302 OK swsbounce swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Length: 8
@@ -10,7 +11,7 @@ Location: ./193
monster
-
+
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Length: 8
@@ -69,3 +70,4 @@ monster
+
diff --git a/tests/data/test194 b/tests/data/test194
index 9842551ce3..38a5485d76 100644
--- a/tests/data/test194
+++ b/tests/data/test194
@@ -1,3 +1,4 @@
+
# Server-side
@@ -43,3 +44,4 @@ Accept: */*
+
diff --git a/tests/data/test195 b/tests/data/test195
index cadfb3d6f8..f986bfb6e6 100644
--- a/tests/data/test195
+++ b/tests/data/test195
@@ -1,3 +1,4 @@
+
# Server-side
@@ -28,3 +29,4 @@ USER anonymous
PASS curl_by_daniel@haxx.se
+
diff --git a/tests/data/test196 b/tests/data/test196
index b47cf5d6bd..6bc3dbd860 100644
--- a/tests/data/test196
+++ b/tests/data/test196
@@ -1,3 +1,4 @@
+
# Server-side
@@ -31,3 +32,4 @@ USER anonymous
PASS curl_by_daniel@haxx.se
+
diff --git a/tests/data/test197 b/tests/data/test197
index 59ee260294..8295b676b1 100644
--- a/tests/data/test197
+++ b/tests/data/test197
@@ -1,14 +1,15 @@
+
#
# Server-side
-
+
HTTP/1.1 503 OK swsbounce
Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Length: 21
server not available
-
+
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-Length: 3
@@ -65,3 +66,4 @@ ok
+
diff --git a/tests/data/test198 b/tests/data/test198
index 51d0e6f020..45438e5423 100644
--- a/tests/data/test198
+++ b/tests/data/test198
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -60,3 +61,4 @@ Accept: */*
+
diff --git a/tests/data/test199 b/tests/data/test199
index 2b2b435df1..db0d12c923 100644
--- a/tests/data/test199
+++ b/tests/data/test199
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -13,7 +14,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -48,3 +49,4 @@ Accept: */*
+
diff --git a/tests/data/test2 b/tests/data/test2
index c701e79ba0..573bdfcdc1 100644
--- a/tests/data/test2
+++ b/tests/data/test2
@@ -1,3 +1,4 @@
+
HTTP
@@ -49,3 +50,4 @@ Accept: */*
[insert full protocol verifiction dump here]
+
diff --git a/tests/data/test20 b/tests/data/test20
index abc839892a..cd1536060b 100644
--- a/tests/data/test20
+++ b/tests/data/test20
@@ -1,3 +1,4 @@
+
non-existing host name
@@ -29,3 +30,4 @@ non-existing-and-weeeeeeirdname.
6
+
diff --git a/tests/data/test200 b/tests/data/test200
index bd9a448aef..7b5ec41ffd 100644
--- a/tests/data/test200
+++ b/tests/data/test200
@@ -1,3 +1,4 @@
+
# Server-side
@@ -32,3 +33,4 @@ moo
# Verify data after the test has been "shot"
+
diff --git a/tests/data/test201 b/tests/data/test201
index a2915923e7..e8ddb7fae8 100644
--- a/tests/data/test201
+++ b/tests/data/test201
@@ -1,3 +1,4 @@
+
# Server-side
@@ -23,3 +24,4 @@ file://localhost/%PWD/log/non-existant-file.txt
37
+
diff --git a/tests/data/test202 b/tests/data/test202
index 937e0beb92..5b578cbab6 100644
--- a/tests/data/test202
+++ b/tests/data/test202
@@ -1,3 +1,4 @@
+
# Server-side
@@ -27,3 +28,4 @@ contents in a single file
contents in a single file
+
diff --git a/tests/data/test203 b/tests/data/test203
index 2cec4a69d5..c1c04209b7 100644
--- a/tests/data/test203
+++ b/tests/data/test203
@@ -1,3 +1,4 @@
+
# Server-side
@@ -32,3 +33,4 @@ moo
# Verify data after the test has been "shot"
+
diff --git a/tests/data/test204 b/tests/data/test204
index cd661d3f37..cb21c6d383 100644
--- a/tests/data/test204
+++ b/tests/data/test204
@@ -1,3 +1,4 @@
+
# no Server-side
# Client-side
@@ -30,3 +31,4 @@ to
write
+
diff --git a/tests/data/test205 b/tests/data/test205
index b829190535..7bef1a8687 100644
--- a/tests/data/test205
+++ b/tests/data/test205
@@ -1,3 +1,4 @@
+
# no Server-side
# Client-side
@@ -27,3 +28,4 @@ write
23
+
diff --git a/tests/data/test206 b/tests/data/test206
index b60393dfea..a2b7034b74 100644
--- a/tests/data/test206
+++ b/tests/data/test206
@@ -1,3 +1,4 @@
+
# Server-side
@@ -82,3 +83,4 @@ Accept: */*
+
diff --git a/tests/data/test207 b/tests/data/test207
index 48d556d7e2..e3ac65c999 100644
--- a/tests/data/test207
+++ b/tests/data/test207
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -54,3 +55,4 @@ Accept: */*
18
+
diff --git a/tests/data/test208 b/tests/data/test208
index d57b79fd85..97eacbc458 100644
--- a/tests/data/test208
+++ b/tests/data/test208
@@ -1,3 +1,4 @@
+
# Server-side
@@ -60,3 +61,4 @@ the
feature
+
diff --git a/tests/data/test209 b/tests/data/test209
index 4ebf7409f1..e7f1d34d2d 100644
--- a/tests/data/test209
+++ b/tests/data/test209
@@ -1,3 +1,4 @@
+
# Server-side
@@ -101,3 +102,4 @@ Accept: */*
+
diff --git a/tests/data/test21 b/tests/data/test21
index 5f0338cac3..8e4e847e09 100644
--- a/tests/data/test21
+++ b/tests/data/test21
@@ -1,3 +1,4 @@
+
FAILURE
@@ -29,3 +30,4 @@ use curl with multiple request methods
2
+
diff --git a/tests/data/test210 b/tests/data/test210
index 711a26ad1e..dd8c5c782e 100644
--- a/tests/data/test210
+++ b/tests/data/test210
@@ -1,3 +1,4 @@
+
# Server-side
@@ -42,3 +43,4 @@ RETR 210
QUIT
+
diff --git a/tests/data/test211 b/tests/data/test211
index 18f4cb11e9..46c538aeb4 100644
--- a/tests/data/test211
+++ b/tests/data/test211
@@ -1,3 +1,4 @@
+
# Server-side
@@ -44,3 +45,4 @@ RETR 211
QUIT
+
diff --git a/tests/data/test212 b/tests/data/test212
index c34ffe0225..943ae7a09b 100644
--- a/tests/data/test212
+++ b/tests/data/test212
@@ -1,3 +1,4 @@
+
# Server-side
@@ -51,3 +52,4 @@ RETR 212
QUIT
+
diff --git a/tests/data/test213 b/tests/data/test213
index 364791cef0..1e2464d5ef 100644
--- a/tests/data/test213
+++ b/tests/data/test213
@@ -1,3 +1,4 @@
+
# Server-side
@@ -83,7 +84,7 @@ http://test.remote.server.com:213/path/2130002 --proxy http://%HOSTIP:%HTTPPORT
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
-
+
CONNECT test.remote.server.com:213 HTTP/1.0
Host: test.remote.server.com:213
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
@@ -104,3 +105,4 @@ Content-Type: application/x-www-form-urlencoded
postit
+
diff --git a/tests/data/test214 b/tests/data/test214
index f79f485203..7d93ab2342 100644
--- a/tests/data/test214
+++ b/tests/data/test214
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -8,7 +9,7 @@ Content-Length: 6
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -40,3 +41,4 @@ Accept: */*
+
diff --git a/tests/data/test215 b/tests/data/test215
index 6077feb8ba..d44b2f3677 100644
--- a/tests/data/test215
+++ b/tests/data/test215
@@ -1,3 +1,4 @@
+
# Server-side
# When doing LIST, we get the default list output hard-coded in the test
@@ -48,3 +49,4 @@ LIST
QUIT
+
diff --git a/tests/data/test216 b/tests/data/test216
index ba3d527206..2ed0925f33 100644
--- a/tests/data/test216
+++ b/tests/data/test216
@@ -1,3 +1,4 @@
+
# Server-side
@@ -35,3 +36,4 @@ STOR ..anotherup
QUIT
+
diff --git a/tests/data/test217 b/tests/data/test217
index c74ac9cb5e..da98339ee9 100644
--- a/tests/data/test217
+++ b/tests/data/test217
@@ -1,8 +1,9 @@
+
# Server-side
# this is returned first since we get no proxy-auth
-
+
HTTP/1.1 405 Method Not Allowed swsclose
And you should ignore this data.
@@ -44,3 +45,4 @@ HTTP/1.1 405 Method Not Allowed swsclose
000 405
+
diff --git a/tests/data/test218 b/tests/data/test218
index bcf5d7a472..4b1248381a 100644
--- a/tests/data/test218
+++ b/tests/data/test218
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -48,3 +49,4 @@ just some tiny teeny contents
+
diff --git a/tests/data/test22 b/tests/data/test22
index 0623d99bd2..075cf28822 100644
--- a/tests/data/test22
+++ b/tests/data/test22
@@ -1,3 +1,4 @@
+
HTTP
@@ -42,3 +43,4 @@ Accept: */*
+
diff --git a/tests/data/test220 b/tests/data/test220
index 2fa2d9f489..b41b91f383 100644
--- a/tests/data/test220
+++ b/tests/data/test220
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,7 +9,7 @@ compressed
#
# Server-side
-
+
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
@@ -64,3 +65,4 @@ Accept-Encoding: deflate, gzip
+
diff --git a/tests/data/test221 b/tests/data/test221
index 211ca1e0c5..6ba88ee7b4 100644
--- a/tests/data/test221
+++ b/tests/data/test221
@@ -1,3 +1,4 @@
+
HTTP
@@ -9,7 +10,7 @@ FAILURE
#
# Server-side
-
+
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
@@ -67,3 +68,4 @@ Accept-Encoding: deflate, gzip
61
+
diff --git a/tests/data/test222 b/tests/data/test222
index 4c089dd52b..fc77837d2f 100644
--- a/tests/data/test222
+++ b/tests/data/test222
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,7 +9,7 @@ compressed
#
# Server-side
-
+
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
@@ -195,3 +196,4 @@ Accept-Encoding: deflate, gzip
+
diff --git a/tests/data/test223 b/tests/data/test223
index df367f715a..bed5d1882b 100644
--- a/tests/data/test223
+++ b/tests/data/test223
@@ -1,3 +1,4 @@
+
HTTP
@@ -10,7 +11,7 @@ FAILURE
# Server-side
# this deflate chunk has three bytes removed from the beginning
-
+
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
@@ -88,3 +89,4 @@ Accept-Encoding: deflate, gzip
61
+
diff --git a/tests/data/test224 b/tests/data/test224
index 84cedd65aa..dc713651bb 100644
--- a/tests/data/test224
+++ b/tests/data/test224
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,7 +9,7 @@ compressed
#
# Server-side
-
+
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUzIEdNVA0KU2Vy
dmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8xLjMuMjYuMWEg
UEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3BlcmwvMS4yOQ0K
@@ -100,3 +101,4 @@ Accept-Encoding: deflate, gzip
+
diff --git a/tests/data/test225 b/tests/data/test225
index 9dee842554..fe39db9ece 100644
--- a/tests/data/test225
+++ b/tests/data/test225
@@ -1,3 +1,4 @@
+
FTP
@@ -25,3 +26,4 @@ ftp://bad%0auser:passwd@%HOSTIP:%FTPPORT/225%0a
3
+
diff --git a/tests/data/test226 b/tests/data/test226
index e0ccf5b933..727e1534ca 100644
--- a/tests/data/test226
+++ b/tests/data/test226
@@ -1,3 +1,4 @@
+
FTP
@@ -25,3 +26,4 @@ ftp://%HOSTIP:%FTPPORT/226%0d
3
+
diff --git a/tests/data/test227 b/tests/data/test227
index b5e0d9379b..7ce25a60b5 100644
--- a/tests/data/test227
+++ b/tests/data/test227
@@ -1,3 +1,4 @@
+
FTP
@@ -52,3 +53,4 @@ NOOP 3
QUIT
+
diff --git a/tests/data/test228 b/tests/data/test228
index d1c5daf87a..714f7cae6c 100644
--- a/tests/data/test228
+++ b/tests/data/test228
@@ -1,3 +1,4 @@
+
FTP
@@ -49,3 +50,4 @@ RETR 228
QUIT
+
diff --git a/tests/data/test229 b/tests/data/test229
index 92c83fb81e..8b6af9602a 100644
--- a/tests/data/test229
+++ b/tests/data/test229
@@ -1,3 +1,4 @@
+
FTP
@@ -38,3 +39,4 @@ ACCT one count
11
+
diff --git a/tests/data/test23 b/tests/data/test23
index 4155ea2cdc..46872e82ea 100644
--- a/tests/data/test23
+++ b/tests/data/test23
@@ -1,3 +1,4 @@
+
unsupported protocol
@@ -29,3 +30,4 @@ htfp://%HOSTIP:%HTTPPORT/none.htfml
1
+
diff --git a/tests/data/test233 b/tests/data/test233
index b11aabbbd2..6832ae5dd9 100644
--- a/tests/data/test233
+++ b/tests/data/test233
@@ -1,3 +1,4 @@
+
HTTP
@@ -92,3 +93,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test234 b/tests/data/test234
index c8775c5438..47cd0270eb 100644
--- a/tests/data/test234
+++ b/tests/data/test234
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -84,3 +85,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test235 b/tests/data/test235
index c1345b9c28..699a478f9b 100644
--- a/tests/data/test235
+++ b/tests/data/test235
@@ -1,3 +1,4 @@
+
# Server-side
@@ -40,3 +41,4 @@ this is the *****crap******** that we're gonna upload
worx?
+
diff --git a/tests/data/test236 b/tests/data/test236
index 29d739f922..b25e898f83 100644
--- a/tests/data/test236
+++ b/tests/data/test236
@@ -1,3 +1,4 @@
+
# Client-side
@@ -35,3 +36,4 @@ QUIT
25
+
diff --git a/tests/data/test237 b/tests/data/test237
index c276da9172..a1e105af78 100644
--- a/tests/data/test237
+++ b/tests/data/test237
@@ -1,3 +1,4 @@
+
# Server-side
@@ -38,3 +39,4 @@ PWD
PASV
+
diff --git a/tests/data/test238 b/tests/data/test238
index 8e23b4fb06..97050157f4 100644
--- a/tests/data/test238
+++ b/tests/data/test238
@@ -1,3 +1,4 @@
+
# Server-side
@@ -37,3 +38,4 @@ EPSV
PASV
+
diff --git a/tests/data/test239 b/tests/data/test239
index 6fd4f09333..0f6bb249ae 100644
--- a/tests/data/test239
+++ b/tests/data/test239
@@ -1,3 +1,4 @@
+
# Server-side
@@ -61,7 +62,7 @@ http://%HOSTIP:%HTTPPORT/239 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
-
+
POST http://%HOSTIP:%HTTPPORT/239 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
@@ -85,3 +86,4 @@ Content-Type: application/x-www-form-urlencoded
postit
+
diff --git a/tests/data/test24 b/tests/data/test24
index be12be5d0a..e650b311eb 100644
--- a/tests/data/test24
+++ b/tests/data/test24
@@ -1,3 +1,4 @@
+
HTTP
@@ -6,7 +7,7 @@ HTTP GET
# Server-side
-
+
HTTP/1.0 404 BAD BOY
Content-Type: text/html
@@ -43,3 +44,4 @@ Accept: */*
22
+
diff --git a/tests/data/test240 b/tests/data/test240
index 77029d44c7..cd8594d63f 100644
--- a/tests/data/test240
+++ b/tests/data/test240
@@ -1,3 +1,4 @@
+
HTTP
@@ -20,7 +21,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -54,3 +55,4 @@ Accept: */*
+
diff --git a/tests/data/test241 b/tests/data/test241
index 29143dc7a9..46eae1f724 100644
--- a/tests/data/test241
+++ b/tests/data/test241
@@ -1,3 +1,4 @@
+
HTTP
@@ -52,3 +53,4 @@ Accept: */*
+
diff --git a/tests/data/test242 b/tests/data/test242
index 275b0221b1..639b2c093a 100644
--- a/tests/data/test242
+++ b/tests/data/test242
@@ -1,3 +1,4 @@
+
HTTP
@@ -50,3 +51,4 @@ Accept: */*
+
diff --git a/tests/data/test243 b/tests/data/test243
index c020896fac..fcb10885c9 100644
--- a/tests/data/test243
+++ b/tests/data/test243
@@ -1,3 +1,4 @@
+
HTTP
@@ -89,7 +90,7 @@ http://%HOSTIP:%HTTPPORT/243 --proxy http://%HOSTIP:%HTTPPORT --proxy-user silly
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
-
+
POST http://127.0.0.1:8990/243 HTTP/1.1
User-Agent: curl/7.13.2-CVS (i686-pc-linux-gnu) libcurl/7.13.2-CVS OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13
Host: 127.0.0.1:8990
@@ -122,3 +123,4 @@ Content-Type: application/x-www-form-urlencoded
postit
+
diff --git a/tests/data/test245 b/tests/data/test245
index c4de97b834..ffefb219bc 100644
--- a/tests/data/test245
+++ b/tests/data/test245
@@ -1,3 +1,4 @@
+
# Server-side
@@ -53,7 +54,7 @@ http://%HOSTIP:%HTTPPORT/245 -u auser:apasswd --digest -d "junkelijunk"
^User-Agent:.*
-
+
POST /245 HTTP/1.1
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
Host: 127.0.0.1:%HTTPPORT
@@ -72,3 +73,4 @@ Content-Type: application/x-www-form-urlencoded
junkelijunk
+
diff --git a/tests/data/test246 b/tests/data/test246
index 540f1d7944..72e27b998f 100644
--- a/tests/data/test246
+++ b/tests/data/test246
@@ -1,3 +1,4 @@
+
# Server-side
@@ -63,7 +64,7 @@ http://%HOSTIP:%HTTPPORT/246 -u auser:apasswd --digest -d "junkelijunk"
^User-Agent:.*
-
+
POST /246 HTTP/1.1
User-Agent: curl/7.12.1-CVS (i686-pc-linux-gnu) libcurl/7.12.1-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.6
Host: 127.0.0.1:%HTTPPORT
@@ -82,3 +83,4 @@ Content-Type: application/x-www-form-urlencoded
junkelijunk
+
diff --git a/tests/data/test247 b/tests/data/test247
index 0985b8682b..3ed809d2e9 100644
--- a/tests/data/test247
+++ b/tests/data/test247
@@ -1,3 +1,4 @@
+
213 20030409102659
@@ -37,3 +38,4 @@ MDTM 247
QUIT
+
diff --git a/tests/data/test248 b/tests/data/test248
index 3fc3fc14b6..b2c3c4a36d 100644
--- a/tests/data/test248
+++ b/tests/data/test248
@@ -1,3 +1,4 @@
+
213 20050409102659
@@ -46,3 +47,4 @@ STOR 248
QUIT
+
diff --git a/tests/data/test249 b/tests/data/test249
index f196e23ee2..190732569e 100644
--- a/tests/data/test249
+++ b/tests/data/test249
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -43,3 +44,4 @@ If-Modified-Since: Sun, 12 Dec 1999 12:00:00 GMT
+
diff --git a/tests/data/test25 b/tests/data/test25
index b0c6cd5d82..9c3a991787 100644
--- a/tests/data/test25
+++ b/tests/data/test25
@@ -1,3 +1,4 @@
+
HTTP
@@ -112,3 +113,4 @@ Accept: */*
47
+
diff --git a/tests/data/test250 b/tests/data/test250
index b3fa1cfdc8..fc5ce0b025 100644
--- a/tests/data/test250
+++ b/tests/data/test250
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -51,3 +52,4 @@ LIST
QUIT
+
diff --git a/tests/data/test251 b/tests/data/test251
index 6b3cf7b219..1afc12b350 100644
--- a/tests/data/test251
+++ b/tests/data/test251
@@ -1,3 +1,4 @@
+
# Server-side
# When doing LIST, we get the default list output hard-coded in the test
@@ -51,3 +52,4 @@ LIST
QUIT
+
diff --git a/tests/data/test252 b/tests/data/test252
index 0cb6544b8b..37769d92bd 100644
--- a/tests/data/test252
+++ b/tests/data/test252
@@ -1,3 +1,4 @@
+
FTP-ipv6
@@ -57,3 +58,4 @@ LIST
QUIT
+
diff --git a/tests/data/test253 b/tests/data/test253
index c4419a4a6d..a1620dd73d 100644
--- a/tests/data/test253
+++ b/tests/data/test253
@@ -1,3 +1,4 @@
+
FTP-ipv6
@@ -57,3 +58,4 @@ LIST
QUIT
+
diff --git a/tests/data/test254 b/tests/data/test254
index ddabed8a2b..416064731d 100644
--- a/tests/data/test254
+++ b/tests/data/test254
@@ -1,3 +1,4 @@
+
FTP-ipv6
@@ -58,3 +59,4 @@ LIST
QUIT
+
diff --git a/tests/data/test255 b/tests/data/test255
index 893256e9c2..d26e82a7e3 100644
--- a/tests/data/test255
+++ b/tests/data/test255
@@ -1,3 +1,4 @@
+
FTP-ipv6
@@ -58,3 +59,4 @@ LIST
QUIT
+
diff --git a/tests/data/test256 b/tests/data/test256
index 38a38ba08b..3bee0dbdee 100644
--- a/tests/data/test256
+++ b/tests/data/test256
@@ -1,3 +1,4 @@
+
HTTP
@@ -9,7 +10,7 @@ FAILURE
# Server-side
-
+
HTTP/1.0 200 Mooo
Date: Mon, 13 Nov 2000 13:41:09 GMT
Server: myown/1.0
@@ -61,3 +62,4 @@ This text is here to simulate a partly downloaded file to resume
download on.
+
diff --git a/tests/data/test257 b/tests/data/test257
index 90680f3951..1020c613ec 100644
--- a/tests/data/test257
+++ b/tests/data/test257
@@ -1,3 +1,4 @@
+
HTTP
@@ -111,3 +112,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test258 b/tests/data/test258
index 947f0e0cda..1a839d8a2a 100644
--- a/tests/data/test258
+++ b/tests/data/test258
@@ -1,3 +1,4 @@
+
HTTP
@@ -127,3 +128,4 @@ bar
------------------------------7c633d5c27ce--
+
diff --git a/tests/data/test259 b/tests/data/test259
index 84017407dd..9d86272452 100644
--- a/tests/data/test259
+++ b/tests/data/test259
@@ -1,3 +1,4 @@
+
HTTP
@@ -126,3 +127,4 @@ bar
------------------------------7c633d5c27ce--
+
diff --git a/tests/data/test26 b/tests/data/test26
index f92cf2326d..a7505b5b1b 100644
--- a/tests/data/test26
+++ b/tests/data/test26
@@ -1,3 +1,4 @@
+
HTTP
@@ -41,3 +42,4 @@ Accept: */*
+
diff --git a/tests/data/test260 b/tests/data/test260
index 930786435d..5555366ffe 100644
--- a/tests/data/test260
+++ b/tests/data/test260
@@ -1,3 +1,4 @@
+
HTTP
@@ -20,7 +21,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -51,3 +52,4 @@ Accept: */*
+
diff --git a/tests/data/test261 b/tests/data/test261
index 419bf9b269..79af663fde 100644
--- a/tests/data/test261
+++ b/tests/data/test261
@@ -1,3 +1,4 @@
+
FTP
@@ -47,3 +48,4 @@ RETR 261
QUIT
+
diff --git a/tests/data/test262 b/tests/data/test262
index b9b5a61f45..0178a13040 100644
Binary files a/tests/data/test262 and b/tests/data/test262 differ
diff --git a/tests/data/test263 b/tests/data/test263
index 837f2470ea..b085851662 100644
--- a/tests/data/test263
+++ b/tests/data/test263
@@ -1,3 +1,4 @@
+
HTTP
@@ -51,3 +52,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test264 b/tests/data/test264
index 55f79b6d23..9648f05f88 100644
--- a/tests/data/test264
+++ b/tests/data/test264
@@ -1,3 +1,4 @@
+
HTTP
@@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test265 b/tests/data/test265
index 5b44b6ff2f..649aa04b49 100644
--- a/tests/data/test265
+++ b/tests/data/test265
@@ -1,3 +1,4 @@
+
# Server-side
@@ -86,7 +87,7 @@ http://test.remote.server.com:265/path/2650002 --proxy http://%HOSTIP:%HTTPPORT
s/^(Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAABQAFAHAAAAA).*/$1/
-
+
CONNECT test.remote.server.com:265 HTTP/1.0
Host: test.remote.server.com:265
Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
@@ -107,3 +108,4 @@ Content-Type: application/x-www-form-urlencoded
postit
+
diff --git a/tests/data/test266 b/tests/data/test266
index f3c6132935..e82b215a89 100644
--- a/tests/data/test266
+++ b/tests/data/test266
@@ -1,3 +1,4 @@
+
HTTP
@@ -74,3 +75,4 @@ chunky-trailer: header data
+
diff --git a/tests/data/test267 b/tests/data/test267
index dc7f8dc232..78676dfbc1 100644
--- a/tests/data/test267
+++ b/tests/data/test267
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,10 +9,11 @@ HTTP NTLM auth
# Server-side
-# no in this test since we have NTLM from the start
+
-# This is supposed to be returned when the server gets a first
-# Authorization: NTLM line passed-in from the client
HTTP/1.1 401 Now gimme that second request of crap
Server: Microsoft-IIS/5.0
@@ -76,7 +78,7 @@ http://%HOSTIP:%HTTPPORT/267 -u testuser:testpass --ntlm -d "data" -H "Header1:
s/^(Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAA).*/$1/
-
+
POST /267 HTTP/1.1
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: curl/7.10.6-pre1 (i686-pc-linux-gnu) libcurl/7.10.6-pre1 OpenSSL/0.9.7a ipv6 zlib/1.1.3
@@ -100,3 +102,4 @@ Content-Type: application/x-www-form-urlencoded
data
+
diff --git a/tests/data/test268 b/tests/data/test268
index 4b8b6b9d21..e684793774 100644
--- a/tests/data/test268
+++ b/tests/data/test268
@@ -1,3 +1,4 @@
+
HTTP
@@ -53,3 +54,4 @@ Content-Type: application/x-www-form-urlencoded
+
diff --git a/tests/data/test269 b/tests/data/test269
index 1fbf90a3cc..aa3b8e5de1 100644
--- a/tests/data/test269
+++ b/tests/data/test269
@@ -1,3 +1,4 @@
+
HTTP
@@ -49,3 +50,4 @@ Accept: */*
+
diff --git a/tests/data/test27 b/tests/data/test27
index 85b087aab7..980b07ac61 100644
--- a/tests/data/test27
+++ b/tests/data/test27
@@ -1,3 +1,4 @@
+
HTTP
@@ -52,3 +53,4 @@ Cookie: thewinneris=nowayyouwin
+
diff --git a/tests/data/test270 b/tests/data/test270
index 6c47b559e6..c6f1ea394d 100644
--- a/tests/data/test270
+++ b/tests/data/test270
@@ -1,3 +1,4 @@
+
FTP
@@ -46,3 +47,4 @@ RETR 270
QUIT
+
diff --git a/tests/data/test271 b/tests/data/test271
index d650f9a31a..af5a6c6031 100644
--- a/tests/data/test271
+++ b/tests/data/test271
@@ -1,3 +1,4 @@
+
TFTP
@@ -39,3 +40,4 @@ filename: /271
mode: octet
+
diff --git a/tests/data/test272 b/tests/data/test272
index e8cac9219b..d47f50c3cb 100644
--- a/tests/data/test272
+++ b/tests/data/test272
@@ -1,3 +1,4 @@
+
FTP
@@ -36,3 +37,4 @@ MDTM 272
QUIT
+
diff --git a/tests/data/test273 b/tests/data/test273
index 6aabfdcbd3..626107951f 100644
--- a/tests/data/test273
+++ b/tests/data/test273
@@ -1,3 +1,4 @@
+
HTTP
@@ -76,3 +77,4 @@ Accept: */*
+
diff --git a/tests/data/test274 b/tests/data/test274
index 4eac4d5fd3..7d010b4ffc 100644
--- a/tests/data/test274
+++ b/tests/data/test274
@@ -1,3 +1,4 @@
+
HTTP
@@ -48,3 +49,4 @@ Accept: */*
47
+
diff --git a/tests/data/test275 b/tests/data/test275
index fea185018f..e07b1a83e8 100644
--- a/tests/data/test275
+++ b/tests/data/test275
@@ -1,3 +1,4 @@
+
HTTP
@@ -71,3 +72,4 @@ Accept: */*
+
diff --git a/tests/data/test276 b/tests/data/test276
index aa56090f47..b211367135 100644
--- a/tests/data/test276
+++ b/tests/data/test276
@@ -1,3 +1,4 @@
+
HTTP
@@ -72,3 +73,4 @@ Accept: */*
+
diff --git a/tests/data/test277 b/tests/data/test277
index f19e3423d6..8051e55223 100644
--- a/tests/data/test277
+++ b/tests/data/test277
@@ -1,3 +1,4 @@
+
HTTP
@@ -55,3 +56,4 @@ daniel
--------------------------------
+
diff --git a/tests/data/test278 b/tests/data/test278
index 795b090ce6..5b24df82c2 100644
--- a/tests/data/test278
+++ b/tests/data/test278
@@ -1,3 +1,4 @@
+
HTTP
@@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test279 b/tests/data/test279
index 2483e39d29..150c767c8e 100644
--- a/tests/data/test279
+++ b/tests/data/test279
@@ -1,3 +1,4 @@
+
HTTP
@@ -46,3 +47,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test28 b/tests/data/test28
index 98d19c59d9..43ea09b23b 100644
--- a/tests/data/test28
+++ b/tests/data/test28
@@ -1,3 +1,4 @@
+
HTTP
@@ -71,3 +72,4 @@ Accept: */*
+
diff --git a/tests/data/test280 b/tests/data/test280
index a354c31c62..3bf2f953fc 100644
--- a/tests/data/test280
+++ b/tests/data/test280
@@ -1,3 +1,4 @@
+
FTP
@@ -62,3 +63,4 @@ LIST
QUIT
+
diff --git a/tests/data/test281 b/tests/data/test281
index f228d2d0b0..d399fc05b6 100644
--- a/tests/data/test281
+++ b/tests/data/test281
@@ -1,3 +1,4 @@
+
HTTP
@@ -61,3 +62,4 @@ Weird
upload
+
diff --git a/tests/data/test282 b/tests/data/test282
index b15745b18a..557e461440 100644
--- a/tests/data/test282
+++ b/tests/data/test282
@@ -1,3 +1,4 @@
+
HTTP
@@ -41,3 +42,4 @@ Accept: */*
+
diff --git a/tests/data/test283 b/tests/data/test283
index 54e86fe801..e470c87fcd 100644
--- a/tests/data/test283
+++ b/tests/data/test283
@@ -1,3 +1,4 @@
+
TFTP
@@ -31,3 +32,4 @@ filename: /invalid-file
mode: octet
+
diff --git a/tests/data/test284 b/tests/data/test284
index f04fef5898..0c2a665601 100644
--- a/tests/data/test284
+++ b/tests/data/test284
@@ -1,3 +1,4 @@
+
TFTP
@@ -63,3 +64,4 @@ filename: /284
mode: octet
+
diff --git a/tests/data/test285 b/tests/data/test285
index 72f0455dda..75a19991d9 100644
--- a/tests/data/test285
+++ b/tests/data/test285
@@ -1,3 +1,4 @@
+
TFTP
@@ -40,3 +41,4 @@ filename: /test285.txt
mode: octet
+
diff --git a/tests/data/test286 b/tests/data/test286
index d78e24f3a2..841ee1e2a3 100644
--- a/tests/data/test286
+++ b/tests/data/test286
@@ -1,3 +1,4 @@
+
TFTP
@@ -88,3 +89,4 @@ filename: /test286.txt
mode: octet
+
diff --git a/tests/data/test29 b/tests/data/test29
index 5d18c39ae8..640e312fc4 100644
--- a/tests/data/test29
+++ b/tests/data/test29
@@ -1,3 +1,4 @@
+
HTTP
@@ -48,3 +49,4 @@ Accept: */*
28
+
diff --git a/tests/data/test3 b/tests/data/test3
index 2dc78967e1..c1b542eef9 100644
--- a/tests/data/test3
+++ b/tests/data/test3
@@ -1,3 +1,4 @@
+
HTTP
@@ -45,7 +46,7 @@ HTTP POST with auth and contents but with content-length set to 0
^User-Agent:.*
-
+
POST /3 HTTP/1.1
Authorization: Basic ZmFrZTotdXNlcg==
Host: 127.0.0.1:%HTTPPORT
@@ -56,3 +57,4 @@ Content-Type: application/x-www-form-urlencoded
fooo=mooo&pooo=clue&doo=%20%20%20++++
+
diff --git a/tests/data/test30 b/tests/data/test30
index efb1836403..218dd96575 100644
--- a/tests/data/test30
+++ b/tests/data/test30
@@ -1,3 +1,4 @@
+
HTTP
@@ -39,3 +40,4 @@ Accept: */*
52
+
diff --git a/tests/data/test300 b/tests/data/test300
index 1c2d3b12d3..0d7896cbf0 100644
--- a/tests/data/test300
+++ b/tests/data/test300
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -41,3 +42,4 @@ Accept: */*
+
diff --git a/tests/data/test301 b/tests/data/test301
index a93559b780..ff38deaec5 100644
--- a/tests/data/test301
+++ b/tests/data/test301
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -45,3 +46,4 @@ Accept: */*
[insert full protocol verifiction dump here]
+
diff --git a/tests/data/test302 b/tests/data/test302
index 2f6e381c82..bb48e9e469 100644
--- a/tests/data/test302
+++ b/tests/data/test302
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -36,3 +37,4 @@ HTTPS GET over HTTP proxy fails
[insert full protocol verifiction dump here]
+
diff --git a/tests/data/test303 b/tests/data/test303
index bf221f8896..191fd54746 100644
--- a/tests/data/test303
+++ b/tests/data/test303
@@ -1,3 +1,4 @@
+
# Server-side
@@ -43,3 +44,4 @@ Accept: */*
28
+
diff --git a/tests/data/test304 b/tests/data/test304
index 459034c2c6..9678e8cb1e 100644
--- a/tests/data/test304
+++ b/tests/data/test304
@@ -1,3 +1,4 @@
+
# Server-side
@@ -61,3 +62,4 @@ aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
------------------------------c3b2ef7f0bb8--
+
diff --git a/tests/data/test305 b/tests/data/test305
index 0e01ea2e94..4f77334bba 100644
--- a/tests/data/test305
+++ b/tests/data/test305
@@ -1,3 +1,4 @@
+
# Server-side
@@ -31,3 +32,4 @@ https://%HOSTIP:%HTTPSPORT/want/305 --cacert moooo
77
+
diff --git a/tests/data/test306 b/tests/data/test306
index c0f3f09e1e..c70feda548 100644
--- a/tests/data/test306
+++ b/tests/data/test306
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -54,3 +55,4 @@ Accept: */*
+
diff --git a/tests/data/test307 b/tests/data/test307
index 5d626d75d5..093555cc31 100644
--- a/tests/data/test307
+++ b/tests/data/test307
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -45,3 +46,4 @@ Accept: */*
+
diff --git a/tests/data/test308 b/tests/data/test308
index 136088b6b5..cc7b32296c 100644
--- a/tests/data/test308
+++ b/tests/data/test308
@@ -1,3 +1,4 @@
+
#
# Client-side
@@ -22,3 +23,4 @@ simple HTTPS GET with invalid crypto engine
53
+
diff --git a/tests/data/test31 b/tests/data/test31
index 744129d200..a9aec7722c 100644
--- a/tests/data/test31
+++ b/tests/data/test31
@@ -1,3 +1,4 @@
+
HTTP
@@ -54,7 +55,7 @@ Host: 127.0.0.1:%HTTPPORT
Accept: */*
-
+
# Netscape HTTP Cookie File
# http://curlm.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
@@ -64,3 +65,4 @@ Accept: */*
127.0.0.1 FALSE /we/want/ FALSE 1391255787 nodomain value
+
diff --git a/tests/data/test32 b/tests/data/test32
index da0517f0bd..6ae563092c 100644
--- a/tests/data/test32
+++ b/tests/data/test32
@@ -1,3 +1,4 @@
+
HTTP
@@ -20,7 +21,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -52,3 +53,4 @@ Accept: */*
+
diff --git a/tests/data/test33 b/tests/data/test33
index 780c94e046..8037ce809a 100644
--- a/tests/data/test33
+++ b/tests/data/test33
@@ -1,3 +1,4 @@
+
HTTP
@@ -60,3 +61,4 @@ Expect: 100-continue
012345678
+
diff --git a/tests/data/test34 b/tests/data/test34
index a05ba75164..2c73137ba7 100644
--- a/tests/data/test34
+++ b/tests/data/test34
@@ -1,3 +1,4 @@
+
HTTP
@@ -62,3 +63,4 @@ Accept: */*
+
diff --git a/tests/data/test36 b/tests/data/test36
index 8b50e822a7..7219d3d3bc 100644
--- a/tests/data/test36
+++ b/tests/data/test36
@@ -1,3 +1,4 @@
+
HTTP
@@ -62,3 +63,4 @@ Accept: */*
+
diff --git a/tests/data/test37 b/tests/data/test37
index 6d2afc7d4b..60e13be899 100644
--- a/tests/data/test37
+++ b/tests/data/test37
@@ -1,3 +1,4 @@
+
HTTP
@@ -43,3 +44,4 @@ Accept: */*
+
diff --git a/tests/data/test38 b/tests/data/test38
index bf8cce8bdb..ddc4c31a31 100644
--- a/tests/data/test38
+++ b/tests/data/test38
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,7 +9,7 @@ FAILURE
# Server-side
-
+
HTTP/1.0 200 Mooo
Date: Mon, 13 Nov 2000 13:41:09 GMT
Server: myown/1.0
@@ -57,3 +58,4 @@ This text is here to simulate a partly downloaded file to resume
download on.
+
diff --git a/tests/data/test39 b/tests/data/test39
index 862a243853..9a076b0e04 100644
--- a/tests/data/test39
+++ b/tests/data/test39
@@ -1,3 +1,4 @@
+
HTTP
@@ -87,3 +88,4 @@ foo
------------------------------24e78000bd32--
+
diff --git a/tests/data/test4 b/tests/data/test4
index 342afadcd6..7bdfa01572 100644
--- a/tests/data/test4
+++ b/tests/data/test4
@@ -1,3 +1,4 @@
+
HTTP
@@ -47,3 +48,4 @@ Accept: replaced
+
diff --git a/tests/data/test40 b/tests/data/test40
index c3bbe79562..28daa018e2 100644
--- a/tests/data/test40
+++ b/tests/data/test40
@@ -1,3 +1,4 @@
+
HTTP
@@ -70,3 +71,4 @@ Accept: */*
+
diff --git a/tests/data/test41 b/tests/data/test41
index 025ba4ca9f..08eca38c9b 100644
--- a/tests/data/test41
+++ b/tests/data/test41
@@ -1,3 +1,4 @@
+
HTTP
@@ -28,3 +29,4 @@ http://%HOSTIP:%HTTPPORT/want/41 -F moo=@boo
26
+
diff --git a/tests/data/test42 b/tests/data/test42
index df0edd5dd5..5f52bbfbbc 100644
--- a/tests/data/test42
+++ b/tests/data/test42
@@ -1,3 +1,4 @@
+
HTTP
@@ -70,3 +71,4 @@ Accept: */*
+
diff --git a/tests/data/test43 b/tests/data/test43
index fe6c54e18c..8db3674912 100644
--- a/tests/data/test43
+++ b/tests/data/test43
@@ -1,3 +1,4 @@
+
HTTP
@@ -77,3 +78,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test44 b/tests/data/test44
index beea1cf6ea..2d91d7f662 100644
--- a/tests/data/test44
+++ b/tests/data/test44
@@ -1,3 +1,4 @@
+
HTTP
@@ -68,3 +69,4 @@ bar
------------------------------7c633d5c27ce--
+
diff --git a/tests/data/test45 b/tests/data/test45
index b8d96f7e68..7faa1ccaff 100644
--- a/tests/data/test45
+++ b/tests/data/test45
@@ -1,3 +1,4 @@
+
HTTP
@@ -72,3 +73,4 @@ Accept: */*
+
diff --git a/tests/data/test46 b/tests/data/test46
index 8ebdcf8fda..563ba07357 100644
--- a/tests/data/test46
+++ b/tests/data/test46
@@ -1,3 +1,4 @@
+
HTTP
@@ -60,7 +61,7 @@ Accept: */*
Cookie: empty=; mooo=indeed
-
+
# Netscape HTTP Cookie File
# http://curlm.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
@@ -76,3 +77,4 @@ www.loser.com FALSE / FALSE 1139150993 UID 99
127.0.0.1 FALSE /want/ FALSE 0 simplyhuge zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
+
diff --git a/tests/data/test47 b/tests/data/test47
index 835fcec190..e00b4422a8 100644
--- a/tests/data/test47
+++ b/tests/data/test47
@@ -1,3 +1,4 @@
+
HTTP
@@ -13,7 +14,7 @@ HTTP/1.0 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
- within foo
+-foo- within foo -!foo-
@@ -45,3 +46,4 @@ Accept: */*
+
diff --git a/tests/data/test48 b/tests/data/test48
index 036f739e91..69d2fd3109 100644
--- a/tests/data/test48
+++ b/tests/data/test48
@@ -1,3 +1,4 @@
+
HTTP
@@ -43,3 +44,4 @@ Accept: */*
+
diff --git a/tests/data/test49 b/tests/data/test49
index 8822434eff..002e7d1769 100644
--- a/tests/data/test49
+++ b/tests/data/test49
@@ -1,3 +1,4 @@
+
HTTP
@@ -70,3 +71,4 @@ Accept: */*
+
diff --git a/tests/data/test5 b/tests/data/test5
index db8aec2d06..59c8f47b80 100644
--- a/tests/data/test5
+++ b/tests/data/test5
@@ -1,3 +1,4 @@
+
HTTP
@@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test50 b/tests/data/test50
index e508cc0865..8cdd62b3f5 100644
--- a/tests/data/test50
+++ b/tests/data/test50
@@ -1,3 +1,4 @@
+
HTTP
@@ -70,3 +71,4 @@ Accept: */*
+
diff --git a/tests/data/test500 b/tests/data/test500
index eafd138251..2e53cebfcf 100644
--- a/tests/data/test500
+++ b/tests/data/test500
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -13,7 +14,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -45,3 +46,4 @@ Accept: */*
+
diff --git a/tests/data/test501 b/tests/data/test501
index 3a0334b3b2..f8a8591572 100644
--- a/tests/data/test501
+++ b/tests/data/test501
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -28,3 +29,4 @@ http://%HOSTIP:%HTTPPORT/501
3
+
diff --git a/tests/data/test502 b/tests/data/test502
index 4ef6e5d9ce..99dc2f0298 100644
--- a/tests/data/test502
+++ b/tests/data/test502
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -38,3 +39,4 @@ moo
# Verify data after the test has been "shot"
+
diff --git a/tests/data/test503 b/tests/data/test503
index 5fd45be41c..730f5b778d 100644
--- a/tests/data/test503
+++ b/tests/data/test503
@@ -1,3 +1,4 @@
+
# Server-side
@@ -60,3 +61,4 @@ Accept: */*
+
diff --git a/tests/data/test504 b/tests/data/test504
index 32cff5f71e..488fb5c774 100644
--- a/tests/data/test504
+++ b/tests/data/test504
@@ -1,3 +1,4 @@
+
# Server-side
@@ -26,3 +27,4 @@ http://%HOSTIP:%HTTPSPORT/504 127.0.0.1:55555
100
+
diff --git a/tests/data/test505 b/tests/data/test505
index 84cb009109..fa2ea20ca5 100644
--- a/tests/data/test505
+++ b/tests/data/test505
@@ -1,3 +1,4 @@
+
# Server-side
@@ -56,3 +57,4 @@ RNTO 505-forreal
QUIT
+
diff --git a/tests/data/test506 b/tests/data/test506
index 5f0597f75f..8b3aeedf61 100644
--- a/tests/data/test506
+++ b/tests/data/test506
@@ -1,3 +1,4 @@
+
# Server-side
@@ -160,3 +161,4 @@ http://%HOSTIP:%HTTPPORT/506
.host.foo.com TRUE / FALSE 1170330987 test5 five
+
diff --git a/tests/data/test507 b/tests/data/test507
index 59266dfbb5..bd4bada99b 100644
--- a/tests/data/test507
+++ b/tests/data/test507
@@ -1,3 +1,4 @@
+
# Server-side
@@ -24,3 +25,4 @@ http://doesnotexist.foo./
6
+
diff --git a/tests/data/test508 b/tests/data/test508
index 9ebbaa92ac..8f3662b0c8 100644
--- a/tests/data/test508
+++ b/tests/data/test508
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -43,3 +44,4 @@ Content-Type: application/x-www-form-urlencoded
this is what we post to the silly web server
+
diff --git a/tests/data/test509 b/tests/data/test509
index 0bf6d3da03..bba2d86da0 100644
--- a/tests/data/test509
+++ b/tests/data/test509
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -53,3 +54,4 @@ Accept: */*
disable
+
diff --git a/tests/data/test51 b/tests/data/test51
index 73774f488f..9fbe4cae2a 100644
--- a/tests/data/test51
+++ b/tests/data/test51
@@ -1,3 +1,4 @@
+
HTTP
@@ -70,3 +71,4 @@ Accept: */*
+
diff --git a/tests/data/test510 b/tests/data/test510
index 1c883f18d1..587f530980 100644
--- a/tests/data/test510
+++ b/tests/data/test510
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -52,3 +53,4 @@ and a final longer crap: four
+
diff --git a/tests/data/test511 b/tests/data/test511
index 4bcd1a980e..65f9f1c679 100644
--- a/tests/data/test511
+++ b/tests/data/test511
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -40,3 +41,4 @@ MDTM 511
QUIT
+
diff --git a/tests/data/test512 b/tests/data/test512
index 1df968b366..5fe8fe05f9 100644
--- a/tests/data/test512
+++ b/tests/data/test512
@@ -1,7 +1,8 @@
+
#
# Server-side
-
+
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: yes
@@ -42,3 +43,4 @@ Accept: */*
+
diff --git a/tests/data/test513 b/tests/data/test513
index 44063bc188..2d4e3b0d7f 100644
--- a/tests/data/test513
+++ b/tests/data/test513
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -37,3 +38,4 @@ Content-Type: application/x-www-form-urlencoded
42
+
diff --git a/tests/data/test514 b/tests/data/test514
index 5db18b3569..c61a4a6da6 100644
--- a/tests/data/test514
+++ b/tests/data/test514
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -46,3 +47,4 @@ Accept: */*
+
diff --git a/tests/data/test515 b/tests/data/test515
index c2dd48fe84..9de0ac2b9b 100644
--- a/tests/data/test515
+++ b/tests/data/test515
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -44,3 +45,4 @@ Content-Type: application/x-www-form-urlencoded
+
diff --git a/tests/data/test516 b/tests/data/test516
index 3a8210f224..22c39dc5eb 100644
--- a/tests/data/test516
+++ b/tests/data/test516
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -43,3 +44,4 @@ Content-Length: 0
+
diff --git a/tests/data/test517 b/tests/data/test517
index 3254855d97..8673139ce5 100644
--- a/tests/data/test517
+++ b/tests/data/test517
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -24,7 +25,7 @@ nothing
#
# Verify data after the test has been "shot"
-
+
0: Sun, 06 Nov 1994 08:49:37 GMT => 784111777
1: Sunday, 06-Nov-94 08:49:37 GMT => 784111777
2: Sun Nov 6 08:49:37 1994 => 784111777
@@ -57,3 +58,4 @@ nothing
# for this kind of things.
+
diff --git a/tests/data/test518 b/tests/data/test518
index d050d073f8..86c62cb584 100644
--- a/tests/data/test518
+++ b/tests/data/test518
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -13,7 +14,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -53,3 +54,4 @@ Accept: */*
+
diff --git a/tests/data/test519 b/tests/data/test519
index e86acabd25..c6bc8615bd 100644
--- a/tests/data/test519
+++ b/tests/data/test519
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -67,3 +68,4 @@ Accept: */*
+
diff --git a/tests/data/test52 b/tests/data/test52
index ae78473cd1..d316331e9e 100644
--- a/tests/data/test52
+++ b/tests/data/test52
@@ -1,3 +1,4 @@
+
HTTP
@@ -70,3 +71,4 @@ Accept: */*
+
diff --git a/tests/data/test520 b/tests/data/test520
index b12f47cc2e..fe942bad41 100644
--- a/tests/data/test520
+++ b/tests/data/test520
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -43,3 +44,4 @@ RETR 520
QUIT
+
diff --git a/tests/data/test521 b/tests/data/test521
index 747037c85c..012ea18a93 100644
--- a/tests/data/test521
+++ b/tests/data/test521
@@ -1,3 +1,4 @@
+
FTP
@@ -59,3 +60,4 @@ LIST
QUIT
+
diff --git a/tests/data/test522 b/tests/data/test522
index 753526c844..eb56dc3fae 100644
--- a/tests/data/test522
+++ b/tests/data/test522
@@ -1,3 +1,4 @@
+
HTTP
@@ -9,7 +10,7 @@ CURLOPT_PORT
#
# Server-side
-
+
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
@@ -56,3 +57,4 @@ Accept: */*
hello
+
diff --git a/tests/data/test523 b/tests/data/test523
index e86f3a5b21..0459d2caf1 100644
--- a/tests/data/test523
+++ b/tests/data/test523
@@ -1,3 +1,4 @@
+
HTTP
@@ -10,7 +11,7 @@ CURLOPT_PROXY
#
# Server-side
-
+
HTTP/1.1 200 OK swsclose
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
@@ -56,7 +57,8 @@ Accept: */*
Proxy-Connection: Keep-Alive
-
+
hello
+
diff --git a/tests/data/test524 b/tests/data/test524
index 36946667c9..98805f4f7f 100644
--- a/tests/data/test524
+++ b/tests/data/test524
@@ -1,3 +1,4 @@
+
FTP
@@ -42,3 +43,4 @@ PWD
3
+
diff --git a/tests/data/test525 b/tests/data/test525
index d26490e7c5..0e3353d7ba 100644
--- a/tests/data/test525
+++ b/tests/data/test525
@@ -1,3 +1,4 @@
+
FTP
@@ -53,3 +54,4 @@ Moooooooooooo
upload this
+
diff --git a/tests/data/test526 b/tests/data/test526
index 29d9959830..5d45b5c20f 100644
--- a/tests/data/test526
+++ b/tests/data/test526
@@ -1,3 +1,4 @@
+
FTP
@@ -59,3 +60,4 @@ RETR 526
QUIT
+
diff --git a/tests/data/test527 b/tests/data/test527
index f00a5c69fb..2a6df836ac 100644
--- a/tests/data/test527
+++ b/tests/data/test527
@@ -1,3 +1,4 @@
+
FTP
@@ -59,3 +60,4 @@ RETR 527
QUIT
+
diff --git a/tests/data/test528 b/tests/data/test528
index 2bfdc20ce8..1079491d1d 100644
--- a/tests/data/test528
+++ b/tests/data/test528
@@ -1,3 +1,4 @@
+
HTTP
@@ -60,3 +61,4 @@ Accept: */*
+
diff --git a/tests/data/test529 b/tests/data/test529
index d5c657d30f..36643ff951 100644
--- a/tests/data/test529
+++ b/tests/data/test529
@@ -1,3 +1,4 @@
+
FTP
@@ -53,3 +54,4 @@ Moooooooooooo
upload this
+
diff --git a/tests/data/test53 b/tests/data/test53
index c653c355b8..4c79c6cf47 100644
--- a/tests/data/test53
+++ b/tests/data/test53
@@ -1,3 +1,4 @@
+
HTTP
@@ -50,3 +51,4 @@ Cookie: mooo=indeed
+
diff --git a/tests/data/test530 b/tests/data/test530
index 671efd85c8..5586d6e91f 100644
--- a/tests/data/test530
+++ b/tests/data/test530
@@ -1,3 +1,4 @@
+
HTTP
@@ -76,3 +77,4 @@ Accept: */*
+
diff --git a/tests/data/test531 b/tests/data/test531
index 0909e812a9..8e577c9812 100644
--- a/tests/data/test531
+++ b/tests/data/test531
@@ -1,3 +1,4 @@
+
FTP
@@ -53,3 +54,4 @@ QUIT
+
diff --git a/tests/data/test532 b/tests/data/test532
index 5421f81a7c..5a509ef3d5 100644
--- a/tests/data/test532
+++ b/tests/data/test532
@@ -1,3 +1,4 @@
+
FTP
@@ -59,3 +60,4 @@ RETR 532
QUIT
+
diff --git a/tests/data/test533 b/tests/data/test533
index 578daf8ce1..58db1950f8 100644
--- a/tests/data/test533
+++ b/tests/data/test533
@@ -1,3 +1,4 @@
+
FTP
@@ -51,3 +52,4 @@ RETR 533
QUIT
+
diff --git a/tests/data/test534 b/tests/data/test534
index 5676b77e4e..19755377c8 100644
--- a/tests/data/test534
+++ b/tests/data/test534
@@ -1,3 +1,4 @@
+
FTP
@@ -48,3 +49,4 @@ RETR 534
QUIT
+
diff --git a/tests/data/test535 b/tests/data/test535
index ea43a1ab6c..adfc9e173d 100644
--- a/tests/data/test535
+++ b/tests/data/test535
@@ -1,3 +1,4 @@
+
HTTP/1.1 404 Badness
@@ -57,3 +58,4 @@ Accept: */*
+
diff --git a/tests/data/test536 b/tests/data/test536
index eeadf0d773..f1ed5e3496 100644
--- a/tests/data/test536
+++ b/tests/data/test536
@@ -1,3 +1,4 @@
+
HTTP/1.1 404 Badness
@@ -61,3 +62,4 @@ Accept: */*
+
diff --git a/tests/data/test537 b/tests/data/test537
index 85f07327b2..d00b4c05de 100644
--- a/tests/data/test537
+++ b/tests/data/test537
@@ -1,3 +1,4 @@
+
#
# Server-side
@@ -13,7 +14,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
@@ -53,3 +54,4 @@ Accept: */*
+
diff --git a/tests/data/test538 b/tests/data/test538
index 6ad2aac130..24d9603250 100644
--- a/tests/data/test538
+++ b/tests/data/test538
@@ -1,3 +1,4 @@
+
FTP
@@ -40,3 +41,4 @@ USER anonymous
PASS curl_by_daniel@haxx.se
+
diff --git a/tests/data/test54 b/tests/data/test54
index 0d5747eb65..8c42df70a2 100644
--- a/tests/data/test54
+++ b/tests/data/test54
@@ -1,3 +1,4 @@
+
HTTP
@@ -41,3 +42,4 @@ Accept: */*
+
diff --git a/tests/data/test55 b/tests/data/test55
index c4a6e4c9b0..53108de101 100644
--- a/tests/data/test55
+++ b/tests/data/test55
@@ -1,3 +1,4 @@
+
HTTP
@@ -62,3 +63,4 @@ Accept: */*
+
diff --git a/tests/data/test56 b/tests/data/test56
index d84b86ddcb..43cd3bf086 100644
--- a/tests/data/test56
+++ b/tests/data/test56
@@ -1,3 +1,4 @@
+
HTTP
@@ -58,3 +59,4 @@ we post this
+
diff --git a/tests/data/test57 b/tests/data/test57
index 5c63d8c54c..6676ec5686 100644
--- a/tests/data/test57
+++ b/tests/data/test57
@@ -1,3 +1,4 @@
+
HTTP
@@ -7,7 +8,7 @@ HTTP GET
# Server-side
-
+
HTTP/1.1 200 OK swsclose
Funny-head: yesyes
Content-Type: text/html; charset=ISO-8859-4
@@ -30,7 +31,7 @@ HTTP content-type with spaces in
# Verify data after the test has been "shot"
-
+
text/html; charset=ISO-8859-4
@@ -43,3 +44,4 @@ Accept: */*
+
diff --git a/tests/data/test58 b/tests/data/test58
index 32d773192c..97c74fa4a2 100644
--- a/tests/data/test58
+++ b/tests/data/test58
@@ -1,3 +1,4 @@
+
HTTP
@@ -47,3 +48,4 @@ Expect: 100-continue
a few bytes
+
diff --git a/tests/data/test59 b/tests/data/test59
index 7ea59af86c..87a8af94ee 100644
--- a/tests/data/test59
+++ b/tests/data/test59
@@ -1,3 +1,4 @@
+
HTTP
@@ -43,3 +44,4 @@ Accept: */*
+
diff --git a/tests/data/test6 b/tests/data/test6
index f7f1a4f0dd..5c0de9eedc 100644
--- a/tests/data/test6
+++ b/tests/data/test6
@@ -1,3 +1,4 @@
+
HTTP
@@ -44,3 +45,4 @@ Cookie: name=contents;name2=content2
+
diff --git a/tests/data/test60 b/tests/data/test60
index c4d6c4fb42..be6dccf832 100644
--- a/tests/data/test60
+++ b/tests/data/test60
@@ -1,3 +1,4 @@
+
HTTP
@@ -52,3 +53,4 @@ more than one byte
+
diff --git a/tests/data/test61 b/tests/data/test61
index 59c5eb2717..5ccd7724de 100644
--- a/tests/data/test61
+++ b/tests/data/test61
@@ -1,3 +1,4 @@
+
HTTP
@@ -50,7 +51,7 @@ Accept: */*
Host: www.host.foo.com
-
+
# Netscape HTTP Cookie File
# http://curlm.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
@@ -60,3 +61,4 @@ Host: www.host.foo.com
.foo.com TRUE /moo TRUE 0 test3 maybe
+
diff --git a/tests/data/test62 b/tests/data/test62
index fd08f7e5f1..a2f9ec511a 100644
--- a/tests/data/test62
+++ b/tests/data/test62
@@ -1,3 +1,4 @@
+
HTTP
@@ -53,3 +54,4 @@ Host: www.host.foo.com
+
diff --git a/tests/data/test63 b/tests/data/test63
index 179b9e6b89..667fc104be 100644
--- a/tests/data/test63
+++ b/tests/data/test63
@@ -1,3 +1,4 @@
+
HTTP
@@ -49,3 +50,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test64 b/tests/data/test64
index e2ba87dcdd..4add347891 100644
--- a/tests/data/test64
+++ b/tests/data/test64
@@ -1,3 +1,4 @@
+
HTTP
@@ -76,3 +77,4 @@ Accept: */*
+
diff --git a/tests/data/test65 b/tests/data/test65
index ab519f9166..097c58afd9 100644
--- a/tests/data/test65
+++ b/tests/data/test65
@@ -1,3 +1,4 @@
+
HTTP
@@ -76,3 +77,4 @@ Accept: */*
+
diff --git a/tests/data/test66 b/tests/data/test66
index a67cf63863..e088d64dd2 100644
--- a/tests/data/test66
+++ b/tests/data/test66
@@ -1,3 +1,4 @@
+
HTTP
@@ -37,3 +38,4 @@ Accept: */*
+
diff --git a/tests/data/test67 b/tests/data/test67
index 16a634d678..e2d30da040 100644
--- a/tests/data/test67
+++ b/tests/data/test67
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,10 +9,11 @@ HTTP NTLM auth
# Server-side
-# no in this test since we have NTLM from the start
+
-# This is supposed to be returned when the server gets a first
-# Authorization: NTLM line passed-in from the client
HTTP/1.1 401 Now gimme that second request of crap
Server: Microsoft-IIS/5.0
@@ -91,3 +93,4 @@ Accept: */*
+
diff --git a/tests/data/test68 b/tests/data/test68
index 7367061f56..85586ff541 100644
--- a/tests/data/test68
+++ b/tests/data/test68
@@ -1,3 +1,4 @@
+
HTTP
@@ -91,3 +92,4 @@ Accept: */*
+
diff --git a/tests/data/test69 b/tests/data/test69
index 573bdfbb08..e773f70434 100644
--- a/tests/data/test69
+++ b/tests/data/test69
@@ -1,3 +1,4 @@
+
HTTP
@@ -113,3 +114,4 @@ Accept: */*
+
diff --git a/tests/data/test7 b/tests/data/test7
index cf15ff484d..b90cc721c0 100644
--- a/tests/data/test7
+++ b/tests/data/test7
@@ -1,3 +1,4 @@
+
HTTP
@@ -56,3 +57,4 @@ Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
+
diff --git a/tests/data/test70 b/tests/data/test70
index 0c904ef7ec..f91a3c059e 100644
--- a/tests/data/test70
+++ b/tests/data/test70
@@ -1,3 +1,4 @@
+
HTTP
@@ -83,3 +84,4 @@ Accept: */*
+
diff --git a/tests/data/test71 b/tests/data/test71
index baedaab893..7a938095ce 100644
--- a/tests/data/test71
+++ b/tests/data/test71
@@ -1,3 +1,4 @@
+
HTTP
@@ -74,3 +75,4 @@ bar
------------------------------9ef8d6205763--
+
diff --git a/tests/data/test72 b/tests/data/test72
index 465c61199f..77f2b22852 100644
--- a/tests/data/test72
+++ b/tests/data/test72
@@ -1,3 +1,4 @@
+
HTTP
@@ -79,3 +80,4 @@ Accept: */*
+
diff --git a/tests/data/test73 b/tests/data/test73
index 6e612eec63..5941c7254d 100644
--- a/tests/data/test73
+++ b/tests/data/test73
@@ -1,3 +1,4 @@
+
HTTP
@@ -42,7 +43,7 @@ Accept: */*
Host: host.NOT_DISCLOSED.se
-
+
# Netscape HTTP Cookie File
# http://curlm.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
@@ -50,3 +51,4 @@ Host: host.NOT_DISCLOSED.se
.NOT_DISCLOSED.se TRUE / FALSE 0 IPCZQX01af0fca5c 000010008168c200d25dfc4b
+
diff --git a/tests/data/test74 b/tests/data/test74
index 6a0793d7c3..7cb582de8c 100644
--- a/tests/data/test74
+++ b/tests/data/test74
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,7 +9,7 @@ HTTP GET
#
# Server-side
-
+
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
@@ -19,7 +20,7 @@ Content-Length: 6
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
HTTP/1.0 200 OK
@@ -40,7 +41,7 @@ http
HTTP, urlglob {}-retrieval and -o #[num] usage
-
+
"http://%HOSTIP:%HTTPPORT/{74,740001}" -o "log/dumpit#1.dump"
@@ -70,3 +71,4 @@ Connection: close
crap data
+
diff --git a/tests/data/test75 b/tests/data/test75
index 6aeaf14c40..25440f5135 100644
--- a/tests/data/test75
+++ b/tests/data/test75
@@ -1,3 +1,4 @@
+
HTTP
@@ -19,7 +20,7 @@ none
HTTP, urlglob retrieval with bad range
-
+
"http://%HOSTIP:%HTTPPORT/[1-1]" -o "log/weee#1.dump" --stderr -
@@ -33,8 +34,9 @@ HTTP, urlglob retrieval with bad range
3
-
+
curl: (3) [globbing] error: bad range specification after pos 24
+
diff --git a/tests/data/test76 b/tests/data/test76
index d6b18ad7c4..d4094038b5 100644
--- a/tests/data/test76
+++ b/tests/data/test76
@@ -1,3 +1,4 @@
+
FAILURE
@@ -17,7 +18,7 @@ none
HTTP, -O with no file name part in the URL
-
+
http://%HOSTIP:%HTTPPORT/76/ -O
@@ -32,3 +33,4 @@ http://%HOSTIP:%HTTPPORT/76/ -O
23
+
diff --git a/tests/data/test77 b/tests/data/test77
index 369120cebb..3a9d2a742c 100644
--- a/tests/data/test77
+++ b/tests/data/test77
@@ -1,3 +1,4 @@
+
HTTP
@@ -19,7 +20,7 @@ Content-Length: 6
Connection: close
Content-Type: text/html
-
+-foo-
@@ -51,3 +52,4 @@ If-Modified-Since: Sun, 12 Dec 1999 12:00:00 GMT
+
diff --git a/tests/data/test78 b/tests/data/test78
index a3b2d5b6eb..9192f5f6ac 100644
--- a/tests/data/test78
+++ b/tests/data/test78
@@ -1,3 +1,4 @@
+
HTTP
@@ -19,7 +20,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
HTTP/1.1 200 OK
@@ -63,3 +64,4 @@ If-Modified-Since: Sun, 12 Dec 1999 11:00:00 GMT
+
diff --git a/tests/data/test79 b/tests/data/test79
index 8954360f09..382eddde7f 100644
--- a/tests/data/test79
+++ b/tests/data/test79
@@ -1,3 +1,4 @@
+
FTP
@@ -49,3 +50,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test8 b/tests/data/test8
index 50c5d4f2bb..1dfbfb9920 100644
--- a/tests/data/test8
+++ b/tests/data/test8
@@ -1,3 +1,4 @@
+
HTTP
@@ -56,3 +57,4 @@ Cookie: cookie=yes; partmatch=present; foobar=name
+
diff --git a/tests/data/test80 b/tests/data/test80
index 41656810b4..558afdff36 100644
--- a/tests/data/test80
+++ b/tests/data/test80
@@ -1,3 +1,4 @@
+
HTTP
@@ -69,3 +70,4 @@ Accept: */*
+
diff --git a/tests/data/test81 b/tests/data/test81
index 95ca2191eb..5689df807e 100644
--- a/tests/data/test81
+++ b/tests/data/test81
@@ -1,3 +1,4 @@
+
HTTP
@@ -93,3 +94,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test82 b/tests/data/test82
index 3bfae9fc2e..7d760faed8 100644
--- a/tests/data/test82
+++ b/tests/data/test82
@@ -1,3 +1,4 @@
+
HTTP
@@ -52,3 +53,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test83 b/tests/data/test83
index 7c176969f4..182650efea 100644
--- a/tests/data/test83
+++ b/tests/data/test83
@@ -1,3 +1,4 @@
+
HTTP
@@ -68,3 +69,4 @@ Accept: */*
+
diff --git a/tests/data/test84 b/tests/data/test84
index 9d5e678b69..c6ca496a97 100644
--- a/tests/data/test84
+++ b/tests/data/test84
@@ -1,3 +1,4 @@
+
HTTP
@@ -51,3 +52,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test85 b/tests/data/test85
index a82110769c..80d83694e7 100644
--- a/tests/data/test85
+++ b/tests/data/test85
@@ -1,3 +1,4 @@
+
HTTP
@@ -53,3 +54,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test86 b/tests/data/test86
index e1403962d2..ac611bd292 100644
--- a/tests/data/test86
+++ b/tests/data/test86
@@ -1,3 +1,4 @@
+
HTTP
@@ -8,7 +9,7 @@ HTTP GET
#
# Server-side
-
+
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
@@ -20,7 +21,7 @@ Connection: close
Content-Type: text/html
Funny-head: yesyes
-
+-foo-
HTTP/1.0 200 OK
@@ -54,7 +55,7 @@ http
HTTP, urlglob []-retrieval and -o #[num] usage
-
+
"http://%HOSTIP:%HTTPPORT/[860001-860003]" -o "log/dumpit#1.dump"
@@ -92,3 +93,4 @@ Funny-head: swsclose
crap data
+
diff --git a/tests/data/test87 b/tests/data/test87
index 6f047e6fc5..7731656901 100644
--- a/tests/data/test87
+++ b/tests/data/test87
@@ -1,3 +1,4 @@
+
[] range
@@ -17,7 +18,7 @@ none
urlglob with bad -o #[num] usage
-
+
"http://%HOSTIP:%HTTPPORT/[870001-870003]" -o "log/dumpit#2.dump"
@@ -29,3 +30,4 @@ urlglob with bad -o #[num] usage
2
+
diff --git a/tests/data/test88 b/tests/data/test88
index 45791fcba8..fd7bc94cab 100644
--- a/tests/data/test88
+++ b/tests/data/test88
@@ -1,3 +1,4 @@
+
HTTP
@@ -94,3 +95,4 @@ line three
four is the number of lines
+
diff --git a/tests/data/test89 b/tests/data/test89
index d3392c6947..30741bed61 100644
--- a/tests/data/test89
+++ b/tests/data/test89
@@ -1,3 +1,4 @@
+
HTTP
@@ -9,10 +10,11 @@ followlocation
# Server-side
-# no in this test since we have NTLM from the start
+
-# This is supposed to be returned when the server gets a first
-# Authorization: NTLM line passed-in from the client
HTTP/1.1 401 Now gimme that second request of crap
Server: Microsoft-IIS/5.0
@@ -136,3 +138,4 @@ Accept: */*
+
diff --git a/tests/data/test9 b/tests/data/test9
index 034a605175..16793d440c 100644
--- a/tests/data/test9
+++ b/tests/data/test9
@@ -1,3 +1,4 @@
+
HTTP
@@ -69,3 +70,4 @@ bar
------------------------------9ef8d6205763--
+
diff --git a/tests/data/test90 b/tests/data/test90
index 36d6d0cb7e..755dd4061c 100644
--- a/tests/data/test90
+++ b/tests/data/test90
@@ -1,3 +1,4 @@
+
HTTP
@@ -183,3 +184,4 @@ Accept: */*
+
diff --git a/tests/data/test91 b/tests/data/test91
index 2e9f779e64..189a6f97d5 100644
--- a/tests/data/test91
+++ b/tests/data/test91
@@ -1,3 +1,4 @@
+
HTTP
@@ -114,3 +115,4 @@ Accept: */*
+
diff --git a/tests/data/test92 b/tests/data/test92
index 3c043aab08..0e873689a6 100644
--- a/tests/data/test92
+++ b/tests/data/test92
@@ -1,3 +1,4 @@
+
HTTP
@@ -48,3 +49,4 @@ Accept: */*
+
diff --git a/tests/data/test93 b/tests/data/test93
index b98d32bdcc..55569ddd8e 100644
--- a/tests/data/test93
+++ b/tests/data/test93
@@ -1,3 +1,4 @@
+
HTTP
@@ -47,3 +48,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test94 b/tests/data/test94
index 2deeb4f27d..63aae01e43 100644
--- a/tests/data/test94
+++ b/tests/data/test94
@@ -1,3 +1,4 @@
+
HTTPS
@@ -9,7 +10,7 @@ FAILURE
#
# Server-side
-
+
HTTP/1.1 407 Needs proxy authentication
Server: test-server/fake swsclose yesyes
Proxy-Authenticate: Basic "oh please"
@@ -53,3 +54,4 @@ Proxy-Connection: Keep-Alive
+
diff --git a/tests/data/test95 b/tests/data/test95
index d2cd2c4299..eadcd7a673 100644
--- a/tests/data/test95
+++ b/tests/data/test95
@@ -1,3 +1,4 @@
+
HTTP
@@ -52,7 +53,7 @@ http://%HOSTIP:%HTTPPORT/we/want/that/page/95 -p -x %HOSTIP:%HTTPPORT -d "datato
^User-Agent:.*
-
+
CONNECT 127.0.0.1:%HTTPPORT HTTP/1.0
User-Agent: curl/7.10.7-pre2 (i686-pc-linux-gnu) libcurl/7.10.7-pre2 OpenSSL/0.9.7a zlib/1.1.3
Host: 127.0.0.1:%HTTPPORT
@@ -68,3 +69,4 @@ Content-Type: application/x-www-form-urlencoded
datatopost=ohthatsfunyesyes
+
diff --git a/tests/data/test97 b/tests/data/test97
index 121ffa4dbb..b309ff3e72 100644
--- a/tests/data/test97
+++ b/tests/data/test97
@@ -1,3 +1,4 @@
+
HTTP
@@ -38,7 +39,7 @@ HTTP POST with custom content-type
^User-Agent:.*
-
+
POST /97 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT
Accept: */*
@@ -48,3 +49,4 @@ Content-Length: 14
hejsanallabarn
+
diff --git a/tests/data/test98 b/tests/data/test98
index 5878c578fb..fb7aa7d30a 100644
--- a/tests/data/test98
+++ b/tests/data/test98
@@ -1,3 +1,4 @@
+
HTTP
@@ -51,3 +52,4 @@ Expect: 100-continue
data on stdin
+
diff --git a/tests/data/test99 b/tests/data/test99
index 49cfdc2860..2fdb15f9c9 100644
--- a/tests/data/test99
+++ b/tests/data/test99
@@ -1,3 +1,4 @@
+
HTTP
@@ -64,3 +65,4 @@ Accept: */*
+
diff --git a/tests/server/getpart.c b/tests/server/getpart.c
index 5a839b1229..3453bf313f 100644
--- a/tests/server/getpart.c
+++ b/tests/server/getpart.c
@@ -120,6 +120,7 @@ const char *spitout(FILE *stream,
enum {
STATE_OUTSIDE,
+ STATE_OUTER,
STATE_INMAIN,
STATE_INSUB,
STATE_ILLEGAL
@@ -173,6 +174,10 @@ const char *spitout(FILE *stream,
cmain[0]=0; /* no main anymore */
display=0;
}
+ else if(state == STATE_OUTER) {
+ /* this is the end of the outermost file section */
+ state--;
+ }
}
else if(!display) {
/* this is the beginning of a section */
@@ -182,6 +187,10 @@ const char *spitout(FILE *stream,
*end = 0;
switch(state) {
case STATE_OUTSIDE:
+ /* Ignore the outermost element */
+ state = STATE_OUTER;
+ break;
+ case STATE_OUTER:
strcpy(cmain, ptr);
state = STATE_INMAIN;
break;
@@ -214,6 +223,10 @@ const char *spitout(FILE *stream,
show(("* (%d bytes) %s\n", stringlen, buffer));
display = 1; /* start displaying */
}
+ else if ((*cmain == '!') || (*csub == '!')) {
+ /* This is just a comment, not a new section */
+ state--;
+ }
else {
show(("%d (%s/%s): %s\n", state, cmain, csub, buffer));
display = 0; /* no display */