mirror of
https://github.com/curl/curl.git
synced 2026-07-30 12:28:04 +03:00
issue 12 fix
This commit is contained in:
parent
3d3612e252
commit
498666bdc3
7 changed files with 49 additions and 15 deletions
|
|
@ -45,6 +45,7 @@ Host: 127.0.0.1:8999
|
|||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Content-Length: 78
|
||||
Expect: 100-continue
|
||||
|
||||
Weird
|
||||
file
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ Host: 127.0.0.1:8999
|
|||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Content-Length: 50
|
||||
Expect: 100-continue
|
||||
|
||||
012345678
|
||||
012345678
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ Host: 127.0.0.1:8999
|
|||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Content-Length: 12
|
||||
Expect: 100-continue
|
||||
|
||||
a few bytes
|
||||
</protocol>
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ Pragma: no-cache
|
|||
Accept: */*
|
||||
Transfer-Encoding: chunked
|
||||
Content-Length: 1
|
||||
Expect: 100-continue
|
||||
|
||||
13
|
||||
more than one byte
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
# Server-side
|
||||
<reply>
|
||||
<servercmd>
|
||||
auth_required
|
||||
</servercmd>
|
||||
<data>
|
||||
HTTP/1.1 401 Authorization Required swsclose
|
||||
Server: Apache/1.3.27 (Darwin) PHP/4.1.2
|
||||
|
|
@ -63,6 +66,8 @@ PUT /88 HTTP/1.1
|
|||
Host: 127.0.0.1:8999
|
||||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Content-Length: 85
|
||||
Expect: 100-continue
|
||||
|
||||
PUT /88 HTTP/1.1
|
||||
Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/88", response="78a49fa53d0c228778297687d4168e71"
|
||||
|
|
@ -71,6 +76,7 @@ Host: 127.0.0.1:8999
|
|||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Content-Length: 85
|
||||
Expect: 100-continue
|
||||
|
||||
This is data we upload with PUT
|
||||
a second line
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ Host: 127.0.0.1:8999
|
|||
Pragma: no-cache
|
||||
Accept: */*
|
||||
Content-Length: 14
|
||||
Expect: 100-continue
|
||||
|
||||
data on stdin
|
||||
</protocol>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue