lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] mime_header in Lynx


From: David Woolley
Subject: Re: [Lynx-dev] mime_header in Lynx
Date: Tue, 17 Jun 2008 22:16:43 +0100
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

Sigletos George wrote:

The "mime_header" option in lynx is supposed to print the MIME header along with the source of a document.

Do you mean Content-Type header?

Why is this not working using -for example- the following link?

http://www.jobbingmall.nl/INTL/JobSeeker/Jobs/JobDetails.aspx?IPath=JRTCM&sc_cmp1=JS_JR_ViewJob&APath=2.21.0.0.0&job_did=J3I3K96MVN1YPSZGZJ9

This URL generates a redirect to:

http://www.jobbingmall.nl/INTL/JobSeeker/Jobs/JobDetails.aspx?IPath=JRTCM&sc_cmp1=JS_JR_ViewJob&cbRecursionCnt=1&cbsid=84c22ad6691d4925bb0664b3037985a5-267037034-ws-6

and sets a cookie.

Using that URL without a cookie produces another redirect, so I suspect this one of those pages that puts browsers into loops unless they have cookies enabled.

According to the HTTP specification, it SHOULD also provide a body that contains a human readable document pointed to the redirected destination, which would typically have a Content-Type of text/html or text/plain. However it hasn't provided any body.

The page it eventually gets to, after several rounds of redirects and cookie settings, is:

http://www.jobbingmall.nl/NL/Default.aspx


That produces headers (with ']') which do include a Content-Type:

HTTP/1.1 200 OK
Connection: close
Date: Tue, 17 Jun 2008 21:09:53 GMT
Server: Microsoft-IIS/6.0
X-PBY:REBEL1
X-AspNet-Version: 2.0.50727
P3P: CP="CAO CURa IVAa HISa OUR IND UNI COM NAV INT STA",policyref="http://img.icbdr.com/images/CBP3P.xml";
Content-Language: nl
Set-Cookie: RDB=; domain=.jobbingmall.nl; path=/
Cache-Control: private
Content-Type: text/html; charset=UTF-8
Content-Length: 41129


These are all the headers I got back with the (redirecting) URL that you supplied:

HTTP/1.1 302 Found
Connection: close
Date: Tue, 17 Jun 2008 20:57:13 GMT
Server: Microsoft-IIS/6.0
X-PBY:REBEL1
X-AspNet-Version: 2.0.50727
Location: http://www.jobbingmall.nl/INTL/JobSeeker/Jobs/JobDetails.aspx?IPath=J
RTCM&sc_cmp1=JS_JR_ViewJob&cbRecursionCnt=1&cbsid=84c22ad6691d4925bb0664b303798
5a5-267037034-ws-6
Set-Cookie: CB%5FSID=84c22ad6691d4925bb0664b3037985a5-267037034-ws-6; domain=.jobbingmall.nl; path=/ Set-Cookie: BID=X1C0848E0041471C691ACADA33149927D9030E14585322B961C2DF9E3E2F18B BBAA21D47C529050E80A85421D14A76EDCB; domain=.jobbingmall.nl; expires=Wed, 17-Jun-2009 20:57:13 GMT; path=/
Set-Cookie: RDB=; domain=.jobbingmall.nl; path=/
Cache-Control: private
Content-Length: 0



--
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]