Wang Yuyang wrote:
>
> Hi there,
>
> I have some problem with the Squid proxy and I think you guys out there
> might be able to help me. For various reasons for our projects I am writing
> a little network program to download the webpages into our database. And for
> a certain reason I have to get to the outside network through the Squid
> proxy in our company. Now I connected to the proxy, and I sent a normal
> simple HTTP command like
>
> "GET http://www.cnn.com HTTP/1.0\n"
>
> to this proxy, but it seemed that the proxy could not parse the right web
> address from this command. Maybe the Squid proxy expects a data format that
> is different from this one? Does anybody out there know what kind of the
> data format to communicate with this proxy? Or can you please just point me
> to the right reference? Thank a lot.
Well, I don't see a problem with this, except that to be correct it
should be:
"GET http://www.cnn.com/ HTTP/1.0\n\n"
(note the extra '/' and the extra line-feed)
What sort of error message is it responding with?
D
Received on Wed May 05 1999 - 22:21:12 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:14 MST