Skip to content
Snippets Groups Projects
Commit 9ee14644 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

adjusted to work with the HTTP 1.1-speaking libcurl

parent c576e114
No related branches found
No related tags found
No related merge requests found
http://%HOSTIP:%HOSTPORT/want/25 -o - -o -
http://%HOSTIP:%HOSTPORT/want/26 -o - -o -
looping HTTP Location: following with --max-redirs
looping HTTP Location: following with --max-redirs, no persistance
GET /want/25 HTTP/1.1
GET /want/26 HTTP/1.1
User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.5.2 (SSL 0.9.6) (krb4 enabled)
Host: 127.0.0.1:8999
Pragma: no-cache
......
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
Location: data/reply/25
Content-Length: 32
Connection: close
Redirect to the same URL again!
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
Location: data/reply/25
Connection: close
Redirect to the same URL again!
HTTP/1.1 301 Moved Permanently
Server: fake
Location: /moo/moo/moo/310002
Connection: close
No contents
HTTP/1.1 301 Moved Permanently
Server: fake
Location: /moo/moo/moo/310002
Connection: close
HTTP/1.1 200 Followed here fine
Date: Thu, 09 Nov 2010 14:49:00 GMT
......
HTTP/1.1 303 See Other
Server: fake
Location: /moo/moo/moo/320002
Connection: close
This Location should be fetched with a GET!
......
HTTP/1.1 303 See Other
Server: fake
Location: /moo/moo/moo/320002
Connection: close
HTTP/1.1 200 Followed here fine
Date: Thu, 09 Nov 2010 14:49:00 GMT
......
HTTP/1.1 301 This is a weirdo text message
Server: test-server/fake
Location: data/reply/25
Content-Length: 32
Connection: close
Redirect to the same URL again!
HTTP/1.1 404 BAD BOY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment