On Tue, 2003-04-22 at 16:26, Adam Finster wrote:
> Hello,
>
> Our application exposes a service which we can communicate with via TCP.
>
> We do not access it via a web page or script (such as php / asp / etc)
>
> >From what I've read, you need to change the connection, and modify the
> HTTP header to get through the proxy server.
>
> Below is an example of what I'm posting. Can someone tell me if this
> will work?
>
> connected to <proxy address>:<proxy port>
> HTTP Header:
> -------------------------------------------
> GET <our command here eg ABCDEF> HTTP/1.0
> Host: <our server name here> : <our port number>
> Proxy-Authorization:Basic <Base64 encoded proxy username : password>
> -------------------------------------------
That won't work. RFC 2616 specifies TWO eol's after the last header.
Secondly, when traversing a proxy, your command should be a valid uri:
http://theserver/ABCDEF
Then you'll need to deal with caching as well, otherwise you may get a
surprise when you repeat commands :}.
Cheers,
Rob
-- GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:08 MST