Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: How does a www server know it's not a web client?
| Subject: | Re: How does a www server know it's not a web client? |
| Posted by: | "Francois PIETTE [ICS - MidWare]" (francois.piet..@overbyte.be) |
| Date: | Sun, 6 Aug 2006 16:58:46 |
> Ok, the thing compiles here. How do I use it to see the headers sent
> from my IE?
You run SocketSpy on the same computer as IE and configure IE to use
127.0.0.1 as proxy.
You configure SocketSpy to listen on port 80 and to connect to the host you
give in the URL in IE.
When IE send his request, he will connect to SocketSpy and send his request.
SocketSpy will display the request in a form (you can easily grab the data
displayed and write it to a file should you want to further examine it).
> Basically I am trying to automatically check some web-sites
> for newer versions of some pdf files. One specific website uses https.
HTTPS is another problem. You need a HTTPS enabled HTTP component. Both Indy
and ICS have one.
But spying on the HTTPS connection will not reveal anything since it is
encrypted !
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html