in reply to Re: Re: A Picture A Day
in thread A Picture A Day
The 302 status is "Found", which tells the browser to re-request using the URL in the Location-header.a251111.upc-a.chello.nl - - [19/Dec/2001:16:55:17 +0100] "GET /test/te +st.cgi HTTP/1.1" 302 286 "-" "Mozilla/5.0 (compatible; Konqueror/2.2. +2; Linux 2.4.10-ac12; X11; i686; en)" a251111.upc-a.chello.nl - - [19/Dec/2001:16:55:18 +0100] "GET /test/te +st.txt HTTP/1.1" 304 - "-" "Mozilla/5.0 (compatible; Konqueror/2.2.2; + Linux 2.4.10-ac12; X11; i686; en)"
merlyn, perhaps you meant s/browser/user/; s/CGI/HTTP/; s/server/browser/?2;0 juerd@serv:~/juerd.nl/juerd.nl/test$ cat test.cgi #!/usr/bin/perl print "Location: test.txt\n\n"; 2;0 juerd@serv:~/juerd.nl/juerd.nl/test$ cat test.txt; echo Hello world
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: A Picture A Day
by merlyn (Sage) on Dec 19, 2001 at 21:07 UTC | |
by Juerd (Abbot) on Dec 19, 2001 at 21:13 UTC |