Re: Sending Connect request

Scott Lawrence wrote:
> rajev samyal <rajeev_sambyal@yahoo.com> writes:
> 
> 
>>Hi! I have a client application which is running behind a proxy server. I
>>want to connect to another server application in another domain.I am using
>>Http to connect to the server.The problem is how do I pass the information
>>across the proxy to the server and get the response back.I have read of
>>CONNECT method in the Request header, but don't know how to implement
>>it. 
> 
> 
> See RFC 2817
>   http://www.ietf.org/rfc/rfc2817.txt
> 

Have I missed something?  Are the answers that propose CONNECT 
over-thinking the question?

To connect to an HTTP application through a proxy, send an absolute URI
(RFC 2616) to the proxy.  For example, if the application server is 
app.com and the proxy server is proxy.com, send this request to proxy.com:

GET http://app.com/the-rest-of-the-URI HTTP/1.1
Host: app.com
[more headers]
...

Dave Kristol

Received on Monday, 28 April 2003 04:58:57 UTC