Hi,
I been playing around with C++ using winsock.h to download webpages. I can get it to work for pages such as http://www.research.att.com/~bs/homepage.html
I have also tried for ebay, some pages work fine, however pages like ebay example don't work, and i get a 505 error code. From what i understand this code means that there is an incompatibility between the HTTP versions of the client and server. However this does not seem to be the case since I send that I support 1.1, and the server sends a reply that it supports 1.1.
This is an example of the message i send:
This is an example of the response:Code:GET windows-folder_W0QQitemZ280062863525QQihZ018QQcategoryZ80555QQrdZ1QQcmdZViewItem HTTP/1.1 Host: cgi.ebay.co.uk
I have noticed that if i'm getting the page from listings.ebay.co.uk it works but cgi.ebay.co.uk does not.Code:HTTP/1.1 505 HTTP Version Not Supported Server: Apache-Coyote/1.1 Date: Fri, 29 Dec 2006 00:29:55 GMT Connection: close
Any help would be much appreciated.



LinkBack URL
About LinkBacks



CornedBee