Two ways:
# telnet proxy 3128
Trying 203.4.148.3...
Connected to proxy.brisnet.org.au.
Escape character is '^]'.
GET http://www.yahoo.com/ HTTP/1.0
(press return _twice_ after the GET line. HTTP/1.x requires a blank line
after a request, to indicate the end of the request header)
Or, use the 'client' program that comes with squid:
/usr/local/squid/bin/client http://www.yahoo.com/
And the result (including headers) is dumped to stdout.
D
Byron Jones wrote:
>
> i want to test a problem that i'm having with squid .. i want to check
> exactly what squid is sending back.
>
> i know that i can telnet to port 80 of a web server and issue
>
> GET <url>
>
> and i'll get the page back.
>
> how do i do the same to a proxy server?
>
> thanks in advance
>
> | "More pressure than Rob Roy : Byron Jones |
> || with a new sword." : Communications Manager ||
> || byronj@nd.edu.au : Notre Dame University ||
> | http://www.nd.edu.au/byronj/ : Fremantle, Australia |
-- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d- s++: a C++++$ UL++++B+++S+++C++H++U++V+++$ P+++$ L+++ E- W+++(--)$ N++ w++$>--- t+ 5++ X+() R+ tv b++++ DI+++ e- h-@ ------END GEEK CODE BLOCK------Received on Mon Apr 13 1998 - 20:57:41 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:40 MST