Yeah, at this facility, I get a web page asking to log in with auth parameters, so it's going to be interesting.
Using the simulator, even if I enter the auth parameters in Safari, I'll run the app again from Xcode and get the same HTML telling me that permission was denied and asking for auth params. If I switch to the guest network and run the app in the simulator form Xcode, I can grab any external file without an issue. Joy. On Mar 5, 2012, at 3:19 PM, Erik Stainsby wrote: > I think generally a firewall ought to return an http status code of 302 > redirected which you could probably key off for a login handler. > > Time Dwarf, > Roaring Guy > > On 2012-03-05, at 11:21 AM, Alex Zavatone <z...@mac.com> wrote: > >> I just found out why some JSON parsing was failing, the data returned from >> the NSURLRequest was the HTML for our firewall authentication page. >> >> Is there an established practice or set of documents on the iOS Dev Lib that >> shows how to handle this? I scanned the sample code and found nothing. >> Searching teh googles for NSURL and firewall doesn't return much either. >> >> Thanks in advance. >> - Alex Zavatone >> >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/erik.stainsby%40roaringsky.ca >> >> This email sent to erik.stain...@roaringsky.ca _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com