mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
tests: don't call HTTP errors OK in test cases
Some HTTP errors codes were accompanied by the text OK, which causes some cognitive dissonance when reading them.
This commit is contained in:
parent
86179afcbb
commit
814dc4b240
@ -10,7 +10,7 @@ globbing
|
||||
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 404 OK
|
||||
HTTP/1.1 404 NOT OK
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 6
|
||||
Funny-head: yesyes
|
||||
|
@ -10,7 +10,7 @@ retry
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 503 OK swsbounce
|
||||
HTTP/1.1 503 BAD swsbounce
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 21
|
||||
|
||||
@ -58,7 +58,7 @@ Accept: */*
|
||||
</protocol>
|
||||
|
||||
<stdout>
|
||||
HTTP/1.1 503 OK swsbounce
|
||||
HTTP/1.1 503 BAD swsbounce
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 21
|
||||
|
||||
|
@ -10,7 +10,7 @@ Expect
|
||||
<reply>
|
||||
# 417 means the server didn't like the Expect header
|
||||
<data>
|
||||
HTTP/1.1 417 OK swsbounce
|
||||
HTTP/1.1 417 BAD swsbounce
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
Content-Length: 0
|
||||
@ -25,7 +25,7 @@ Content-Length: 10
|
||||
blablabla
|
||||
</data1>
|
||||
<datacheck>
|
||||
HTTP/1.1 417 OK swsbounce
|
||||
HTTP/1.1 417 BAD swsbounce
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
Content-Length: 0
|
||||
|
@ -10,7 +10,7 @@ retry
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
HTTP/1.1 503 OK
|
||||
HTTP/1.1 503 BAD
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Content-Length: 21
|
||||
Retry-After: 200
|
||||
|
Loading…
x
Reference in New Issue
Block a user