Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Dec : HEAD gives 404 ... GET gives 200

www.cryer.info
Managed Newsgroup Archive

HEAD gives 404 ... GET gives 200

Subject:HEAD gives 404 ... GET gives 200
Posted by:"dk_sz" (dk_..@hotmail.com)
Date:Thu, 21 Dec 2006 13:24:52

Hi,


Does Indy default to 404 if the response
code is not found in returned headers?


The image in question returns this on *HEAD*

Connection=Keep-Alive
Content-Length=2326
Date=Thu, 21 Dec 2006 12:18:32 GMT
Content-Type=text/html; charset=utf-8
Server=Microsoft-IIS/6.0
X-Powered-By=ASP.NET
X-AspNet-Version=1.1.4322
Cache-Control=private

And yes... I wrote image :-)

When doing a GET, it actually is and shows as an image.
(Also, when doing a GET with Indy, response is 200 instead)


best regards
Thomas Schlz

Replies:

www.cryer.info
Managed Newsgroup Archive