mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
Always use nocheck="yes" for consistency
This commit is contained in:
parent
80ffd3581f
commit
14b6cc4e22
@ -37,9 +37,9 @@ which are treated together as a single identifier.
|
||||
</info>
|
||||
|
||||
<reply>
|
||||
<data [nocheck="1"] [sendzero="yes"] [base64="yes"]>
|
||||
<data [nocheck="yes"] [sendzero="yes"] [base64="yes"]>
|
||||
data to be sent to the client on its request and later verified that it arrived
|
||||
safely. Set nocheck="1" to prevent the test script from verifying the arrival
|
||||
safely. Set nocheck="yes" to prevent the test script from verifying the arrival
|
||||
of this data.
|
||||
|
||||
If the data contains 'swsclose' anywhere within the start and end tag, and
|
||||
|
@ -11,7 +11,7 @@ followlocation
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 301 This is a weirdo text message swsclose
|
||||
Location: data/10290002.txt?coolsite=yes
|
||||
Content-Length: 62
|
||||
|
@ -10,7 +10,7 @@ Resume
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
expected to be a file without the first part
|
||||
but we emulate that
|
||||
</data>
|
||||
|
@ -10,7 +10,7 @@ Resume
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
expected to be a file without the first part
|
||||
but we emulate that
|
||||
</data>
|
||||
|
@ -7,7 +7,7 @@ HTTP PUT
|
||||
</info>
|
||||
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 A OK
|
||||
Server: curl test
|
||||
Content-Type: text/html; charset=iso-8859-1
|
||||
@ -15,7 +15,7 @@ Content-Length: 3
|
||||
|
||||
ok
|
||||
</data>
|
||||
<data2 nocheck="1">
|
||||
<data2 nocheck="yes">
|
||||
HTTP/1.1 200 A OK
|
||||
Server: curl test
|
||||
Content-Type: text/html; charset=iso-8859-1
|
||||
|
@ -8,7 +8,7 @@ HTTP GET
|
||||
</info>
|
||||
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 A OK
|
||||
Server: curl test
|
||||
Content-Type: text/html; charset=iso-8859-1
|
||||
@ -16,7 +16,7 @@ Content-Length: 3
|
||||
|
||||
ok
|
||||
</data>
|
||||
<data2 nocheck="1">
|
||||
<data2 nocheck="yes">
|
||||
HTTP/1.1 200 A OK
|
||||
Server: curl test
|
||||
Content-Type: text/html; charset=iso-8859-1
|
||||
|
@ -8,7 +8,7 @@ HTTP GET
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Server: thebest/1.0
|
||||
Content-Type: text/plain
|
||||
@ -16,7 +16,7 @@ Content-Length: 6
|
||||
|
||||
first
|
||||
</data>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Server: thebest/1.0
|
||||
Content-Type: text/plain
|
||||
|
@ -9,7 +9,7 @@ HTTP/1.0
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="true">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.0 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 9
|
||||
|
@ -13,7 +13,7 @@ proxytunnel
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.0 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -11,7 +11,7 @@ followlocation
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 301 This is a weirdo text message swsclose
|
||||
Location: data/10800002.txt?coolsite=yes
|
||||
Content-Length: 62
|
||||
|
@ -11,7 +11,7 @@ followlocation
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 301 This is a weirdo text message swsclose
|
||||
Location: data/10810099.txt?coolsite=yes
|
||||
Content-Length: 62
|
||||
@ -19,7 +19,7 @@ Connection: close
|
||||
|
||||
This server reply is for testing a simple Location: following
|
||||
</data>
|
||||
<data2 nocheck="1">
|
||||
<data2 nocheck="yes">
|
||||
HTTP/1.1 200 Followed here fine swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -11,7 +11,7 @@ followlocation
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 302 OK swsbounce swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 8
|
||||
@ -21,7 +21,7 @@ Location: ./10890001
|
||||
|
||||
monster
|
||||
</data>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 15
|
||||
|
@ -12,7 +12,7 @@ chunked Transfer-Encoding
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 302 OK swsbounce swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 8
|
||||
@ -22,7 +22,7 @@ Location: ./10900001
|
||||
|
||||
monster
|
||||
</data>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Transfer-Encoding: chunked
|
||||
|
@ -8,7 +8,7 @@ HTTP GET
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="true">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.4 200 OK
|
||||
Fake: yes
|
||||
Fake: yes
|
||||
|
@ -1,7 +1,7 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.0 401 BAD BOY
|
||||
Server: swsclose
|
||||
Content-Type: text/html
|
||||
|
@ -1,7 +1,7 @@
|
||||
<testcase>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="true">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 9
|
||||
|
@ -11,7 +11,7 @@ FAILURE
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data1001 nocheck="1">
|
||||
<data1001 nocheck="yes">
|
||||
HTTP/1.0 407 BAD BOY
|
||||
Proxy-Authenticate: Basic realm="Squid proxy-caching web server"
|
||||
Server: swsclose
|
||||
|
@ -8,7 +8,7 @@ HTTP GET
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Funny-head: yesyes
|
||||
Content-Length: 4
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 8
|
||||
|
@ -11,7 +11,7 @@ followlocation
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 302 OK swsbounce swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 8
|
||||
@ -20,7 +20,7 @@ Location: ./193
|
||||
|
||||
monster
|
||||
</data>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 8
|
||||
|
@ -2,14 +2,14 @@
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 503 OK swsbounce
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 21
|
||||
|
||||
server not available
|
||||
</data>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 3
|
||||
|
@ -11,7 +11,7 @@ multiprotocol
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
data
|
||||
to
|
||||
see
|
||||
|
@ -13,7 +13,7 @@ multiprotocol
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
@ -27,7 +27,7 @@ Funny-head: yesyes
|
||||
|
||||
-foo-
|
||||
</data1>
|
||||
<data2 nocheck="1">
|
||||
<data2 nocheck="yes">
|
||||
data
|
||||
to
|
||||
see
|
||||
|
@ -15,7 +15,7 @@ multiprotocol
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
@ -29,7 +29,7 @@ Funny-head: yesyes
|
||||
|
||||
-foo-
|
||||
</data1>
|
||||
<data2 nocheck="1">
|
||||
<data2 nocheck="yes">
|
||||
data
|
||||
to
|
||||
see
|
||||
@ -37,7 +37,7 @@ that FTP
|
||||
works
|
||||
so does it?
|
||||
</data2>
|
||||
<data3 nocheck="1">
|
||||
<data3 nocheck="yes">
|
||||
a chunk of
|
||||
data
|
||||
returned
|
||||
|
@ -15,7 +15,7 @@ multiprotocol
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data1 nocheck="1">
|
||||
<data1 nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
@ -29,7 +29,7 @@ Funny-head: yesyes
|
||||
|
||||
-foo-
|
||||
</data1>
|
||||
<data2 nocheck="1">
|
||||
<data2 nocheck="yes">
|
||||
data
|
||||
to
|
||||
see
|
||||
@ -37,7 +37,7 @@ that FTP
|
||||
works
|
||||
so does it?
|
||||
</data2>
|
||||
<data3 nocheck="1">
|
||||
<data3 nocheck="yes">
|
||||
a chunk of
|
||||
data
|
||||
returned
|
||||
|
@ -13,7 +13,7 @@ multiprotocol
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
Test data file
|
||||
for tftp test
|
||||
</data>
|
||||
|
@ -15,7 +15,7 @@ followlocation
|
||||
<reply>
|
||||
|
||||
# this is returned first since we get no proxy-auth
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 405 Method Not Allowed swsclose
|
||||
|
||||
And you should ignore this data.
|
||||
|
@ -7,7 +7,7 @@ HTTP GET
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.0 404 BAD BOY
|
||||
Content-Type: text/html
|
||||
|
||||
|
@ -10,7 +10,7 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.0 200 Mooo
|
||||
Date: Mon, 13 Nov 2000 13:41:09 GMT
|
||||
Server: myown/1.0
|
||||
|
@ -12,7 +12,7 @@ proxytunnel
|
||||
<reply>
|
||||
|
||||
# this is returned first since we get no proxy-auth
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 405 Method Not Allowed swsclose
|
||||
|
||||
And you should ignore this data.
|
||||
|
@ -11,7 +11,7 @@ FAILURE
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -9,7 +9,7 @@ FAILURE
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.0 200 Mooo
|
||||
Date: Mon, 13 Nov 2000 13:41:09 GMT
|
||||
Server: myown/1.0
|
||||
|
@ -10,7 +10,7 @@ CURLOPT_PORT
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -12,7 +12,7 @@ CURLOPT_PROXY
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -9,7 +9,7 @@ multi
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
data
|
||||
to
|
||||
see
|
||||
|
@ -11,7 +11,7 @@ HTTP proxy
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -11,7 +11,7 @@ CURLOPT_PROXY
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -9,7 +9,7 @@ HTTP GET
|
||||
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK swsclose
|
||||
Funny-head: yesyes
|
||||
Content-Type: text/html; charset=ISO-8859-4
|
||||
|
@ -9,7 +9,7 @@ post-quote
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
Dummy test file for remove test
|
||||
</data>
|
||||
</reply>
|
||||
|
@ -9,7 +9,7 @@ HTTP GET
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -9,7 +9,7 @@ HTTP GET
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
|
@ -11,7 +11,7 @@ FAILURE
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="1">
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 407 Needs proxy authentication
|
||||
Server: test-server/fake swsclose yesyes
|
||||
Proxy-Authenticate: Basic "oh please"
|
||||
|
Loading…
Reference in New Issue
Block a user