Re: Negotiating with a Proxy server
Re: Negotiating with a Proxy server
- Subject: Re: Negotiating with a Proxy server
- From: Mike Cohen <email@hidden>
- Date: Thu, 6 Feb 2003 10:57:56 -0500
On Thursday, February 6, 2003, at 05:12 AM, Frederick Cheung wrote:
Date: Wed, 05 Feb 2003 15:37:13 -0800
Subject: Negotiating with a Proxy server
From: Larry Gerndt <email@hidden>
To: <email@hidden>
Does anyone have any example code or other useful information for how
to
negotiate with an HTTP Proxy server? I can detect, via Internet
Config,
that the user has specified an HTTP proxy in his Internet
preferences, but I
don9t know what I need to do to negotiate a connection via it. Where
are
these details documented? Is it a standard? Any help would be
greatly
appreciated.
Yes it is part of the HTTP standard, which you can get from
www.rfc-editor.org among other places.
It's dead easy though, you just perform a standard get request ie
GET http://www.theserver.com/file.html HTTP/1.1
Host: www.theserver.com
How about proxy authentication? I haven't been able to find the details
of exactly how the name & password should be encoded & sent (I've seen
both Authentication: and Proxy-Authentication: headers used and I'm not
sure which is correct).
--
Mike Cohen
http://www.macmegasite.com/ *
http://www.mc-development.com/ *
http://www.worldbeatplanet.com/
Music is the weapon of the future - Fela
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.