Re: NSURLDownload - multiple requests not working
Re: NSURLDownload - multiple requests not working
- Subject: Re: NSURLDownload - multiple requests not working
- From: Dalton Hamilton <email@hidden>
- Date: Sun, 19 Aug 2007 14:17:19 -0400
This is now mostly working. This particular bug was that the NSURLRequest should have been something like this -- I forgot to convert the URL string to an NSURL...
NSURLRequest *newRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:uri] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:10.0];
NSURLRequest *theRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:[parseArray objectAtIndex:0]] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:10.0]; NSURLDownload *theDownload=[[NSURLDownload alloc] initWithRequest:theRequest delegate:self];
|
_______________________________________________
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