projects
/
platform
/
upstream
/
curl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 7.59.0
[platform/upstream/curl.git]
/
tests
/
data
/
test3
diff --git
a/tests/data/test3
b/tests/data/test3
index
0fe2764
..
d79b91b
100644
(file)
--- a/
tests/data/test3
+++ b/
tests/data/test3
@@
-10,19
+10,19
@@
HTTP Basic auth
# Server-side
<reply>
<data>
# Server-side
<reply>
<data>
-HTTP/1.0 200 OK
\r
-Server: test-server/fake
\r
-Content-Type: text/html
\r
-Content-Length: 0
\r
-
\r
+HTTP/1.0 200 OK
+Server: test-server/fake
+Content-Type: text/html
+Content-Length: 0
+
this is data even though Content-Length is set to zero
</data>
<datacheck>
this is data even though Content-Length is set to zero
</data>
<datacheck>
-HTTP/1.0 200 OK
\r
-Server: test-server/fake
\r
-Content-Type: text/html
\r
-Content-Length: 0
\r
-
\r
+HTTP/1.0 200 OK
+Server: test-server/fake
+Content-Type: text/html
+Content-Length: 0
+
</datacheck>
</reply>
</datacheck>
</reply>
@@
-47,13
+47,13
@@
HTTP POST with auth and contents but with content-length set to 0
^User-Agent:.*
</strip>
<protocol nonewline="yes">
^User-Agent:.*
</strip>
<protocol nonewline="yes">
-POST /3 HTTP/1.1
\r
-Host: %HOSTIP:%HTTPPORT
\r
-Authorization: Basic ZmFrZTotdXNlcg==
\r
-Accept: */*
\r
-Content-Length: 37
\r
-Content-Type: application/x-www-form-urlencoded
\r
-
\r
+POST /3 HTTP/1.1
+Host: %HOSTIP:%HTTPPORT
+Authorization: Basic ZmFrZTotdXNlcg==
+Accept: */*
+Content-Length: 37
+Content-Type: application/x-www-form-urlencoded
+
fooo=mooo&pooo=clue&doo=%20%20%20++++
</protocol>
</verify>
fooo=mooo&pooo=clue&doo=%20%20%20++++
</protocol>
</verify>