mirror of
https://github.com/curl/curl.git
synced 2026-06-06 16:14:17 +03:00
typos
This commit is contained in:
parent
38d1a3cc06
commit
fa7694aec7
7 changed files with 17 additions and 17 deletions
|
|
@ -33,9 +33,9 @@ upgrade
|
|||
</servercmd>
|
||||
|
||||
# Full list of frames: see <verify.stdout> below
|
||||
# 1st a message with an emtpy fragment at the beginning
|
||||
# 2nd a message with an emtpy fragment in the middle
|
||||
# 3rd a message with an emtpy fragment at the end
|
||||
# 1st a message with an empty fragment at the beginning
|
||||
# 2nd a message with an empty fragment in the middle
|
||||
# 3rd a message with an empty fragment at the end
|
||||
# 4th a message with only empty fragments
|
||||
<data nocheck="yes" nonewline="yes">
|
||||
HTTP/1.1 101 Switching to WebSockets
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ http
|
|||
HTTP with --json
|
||||
</name>
|
||||
<command>
|
||||
--json '{ "drink": "coffe" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
--json '{ "drink": "coffee" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ Content-Type: application/json
|
|||
Accept: application/json
|
||||
Content-Length: 20
|
||||
|
||||
{ "drink": "coffe" }
|
||||
{ "drink": "coffee" }
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ http
|
|||
HTTP with --json from stdin
|
||||
</name>
|
||||
<stdin>
|
||||
{ "drink": "coffe" }
|
||||
{ "drink": "coffee" }
|
||||
</stdin>
|
||||
<command>
|
||||
--json @- http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Accept: foobar/*"
|
||||
|
|
@ -53,7 +53,7 @@ Accept: foobar/*
|
|||
Content-Type: application/json
|
||||
Content-Length: 21
|
||||
|
||||
{ "drink": "coffe" }
|
||||
{ "drink": "coffee" }
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ http
|
|||
HTTP with --json x 2
|
||||
</name>
|
||||
<command>
|
||||
--json '{ "drink": "coffe",' --json ' "crunch": "cookie" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Content-Type: drinks/hot"
|
||||
--json '{ "drink": "coffee",' --json ' "crunch": "cookie" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER -H "Content-Type: drinks/hot"
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ Content-Type: drinks/hot
|
|||
Accept: application/json
|
||||
Content-Length: 40
|
||||
|
||||
{ "drink": "coffe", "crunch": "cookie" }
|
||||
{ "drink": "coffee", "crunch": "cookie" }
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ http
|
|||
HTTP with --json + --next
|
||||
</name>
|
||||
<command>
|
||||
--json '{ "drink": "coffe" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002
|
||||
--json '{ "drink": "coffee" }' http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ Content-Type: application/json
|
|||
Accept: application/json
|
||||
Content-Length: 20
|
||||
|
||||
{ "drink": "coffe" }GET /%TESTNUMBER0002 HTTP/1.1
|
||||
{ "drink": "coffee" }GET /%TESTNUMBER0002 HTTP/1.1
|
||||
Host: %HOSTIP:%HTTPPORT
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ http
|
|||
HTTP with auth in URL redirected to another host
|
||||
</name>
|
||||
<command>
|
||||
-x %HOSTIP:%HTTPPORT http://alberto:einstein@somwhere.example/%TESTNUMBER --location-trusted
|
||||
-x %HOSTIP:%HTTPPORT http://alberto:einstein@somewhere.example/%TESTNUMBER --location-trusted
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -73,8 +73,8 @@ HTTP with auth in URL redirected to another host
|
|||
QUIT
|
||||
</strip>
|
||||
<protocol>
|
||||
GET http://somwhere.example/998 HTTP/1.1
|
||||
Host: somwhere.example
|
||||
GET http://somewhere.example/998 HTTP/1.1
|
||||
Host: somewhere.example
|
||||
Authorization: Basic %b64[alberto:einstein]b64%
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ http
|
|||
HTTP with auth in first URL but not second
|
||||
</name>
|
||||
<command>
|
||||
-x %HOSTIP:%HTTPPORT http://alberto:einstein@somwhere.example/%TESTNUMBER http://somewhere.else.example/%TESTNUMBER
|
||||
-x %HOSTIP:%HTTPPORT http://alberto:einstein@somewhere.example/%TESTNUMBER http://somewhere.else.example/%TESTNUMBER
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -63,8 +63,8 @@ HTTP with auth in first URL but not second
|
|||
QUIT
|
||||
</strip>
|
||||
<protocol>
|
||||
GET http://somwhere.example/%TESTNUMBER HTTP/1.1
|
||||
Host: somwhere.example
|
||||
GET http://somewhere.example/%TESTNUMBER HTTP/1.1
|
||||
Host: somewhere.example
|
||||
Authorization: Basic %b64[alberto:einstein]b64%
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue