mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:23:34 +03:00
HTTP tests: use CRLF as header seperator according to RFC 2616
This commit is contained in:
parent
9f42205dcc
commit
2c49f2e3db
2 changed files with 24 additions and 24 deletions
|
|
@ -12,11 +12,11 @@ followlocation
|
|||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 301 This is a weirdo text message swsclose
|
||||
Location: data/10290002.txt?coolsite=yes
|
||||
Content-Length: 62
|
||||
Connection: close
|
||||
|
||||
HTTP/1.1 301 This is a weirdo text message swsclose
|
||||
Location: data/10290002.txt?coolsite=yes
|
||||
Content-Length: 62
|
||||
Connection: close
|
||||
|
||||
This server reply is for testing a simple Location: following
|
||||
</data>
|
||||
</reply>
|
||||
|
|
@ -45,12 +45,12 @@ Host: %HOSTIP:%HTTPPORT
|
|||
Accept: */*
|
||||
|
||||
</protocol>
|
||||
<stdout mode="text">
|
||||
HTTP/1.1 301 This is a weirdo text message swsclose
|
||||
Location: data/10290002.txt?coolsite=yes
|
||||
Content-Length: 62
|
||||
Connection: close
|
||||
|
||||
<stdout>
|
||||
HTTP/1.1 301 This is a weirdo text message swsclose
|
||||
Location: data/10290002.txt?coolsite=yes
|
||||
Content-Length: 62
|
||||
Connection: close
|
||||
|
||||
This server reply is for testing a simple Location: following
|
||||
http://%HOSTIP:%HTTPPORT/we/want/our/data/10290002.txt?coolsite=yes
|
||||
</stdout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue