Re: New class for synchronous URL loading?
Re: New class for synchronous URL loading?
- Subject: Re: New class for synchronous URL loading?
- From: Mark Pauley <email@hidden>
- Date: Fri, 11 Jul 2008 11:36:25 -0700
Yep, that's correct. Sorry about the mess :)
Feel free to post other niggling issues with the API you find on this
list. I'm listening.
_Mark
On Jul 10, 2008, at 4:05 PM, Jerry Krinock wrote:
On 2008 Jul, 06, at 20:36, Jens Alfke wrote:
On 6 Jul '08, at 8:07 PM, Jerry Krinock wrote:
I built my own class a couple years ago for loading URLs
synchronously. The interface is one class method. Basically, you
give it a URL and some stuff, and it goes off and either times out
or returns data. Synopsis:
I thought I'd read somewhere that Apple had introduced a new class
in Leopard which did something like this, but now I can't find
it. Was I dreaming?
I think you mean +[NSURLConnection sendSynchronousRequest:...], but
that's been around since 10.3 or so. Sounds just like your utility,
though.
Finally figured this out. I had written my own class to do
synchronous HTTP requests because the timeout: setting in
NSURLRequest was broken. It would not go less than 30 seconds.
However, the other day I retested and found that although it is
indeed broken in Tiger, it is fixed in Leopard.
So, I remembered the right thing, but for the wrong reason, or maybe
I dreamed the wrong thing for the right reason. But anyhow, I can
'delete' my stupid synchronous URL connector class now.
Jerry
Gory details, for anyone still supporting Tiger...
http://www.cocoabuilder.com/archive/message/cocoa/2008/7/9/212378
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden