Re: NSURL + proxy or firewall
Re: NSURL + proxy or firewall
- Subject: Re: NSURL + proxy or firewall
- From: Steve Bird <email@hidden>
- Date: Fri, 5 Jul 2002 07:24:02 -0400
On Friday, July 5, 2002, at 06:17 AM, Heiko wrote:
Hi,
I'm sorry if this is a FAQ. I searched the lists and the web for this but
didn't find a solution.
The Problem:
I set up a NSURL and want to retrieve the data. This works fine as long
as I don't need to use a proxy or firewall. IC Settings are ignored by
NSURL, so I guess it's just required to setup the NSURL that it will use
the proxy. If this is not possible, where (which class) will the
http-request actually be sent? I mean, is it possible to just change the
receiver of the request to the proxy and then exchanging the relative
path with the whole URL string in the packet?
Any hints are welcome!
The Feb. 2002 issue of MacTech has a Dan Wood article on this issue, from
which I quote:
"If you have proxies configured in the system preferences, NSURLHandle
will not pay attention to those settings, and fail."
Dan wrote an ObjC wrapper called CURLHandle around an open-source utility
called CURL (included with OS X).
1... Read the article - I don't have an exact URL, but it should be
available at www.mactech.com.
2... Get the code from curlhandle.sourceforge.net
----------------------------------------------------------------
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
www.Culverson.com (toll free) 1-877-676-8175
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.