Re: NSURLRequests and Firewalls
Re: NSURLRequests and Firewalls
- Subject: Re: NSURLRequests and Firewalls
- From: Erik Stainsby <email@hidden>
- Date: Mon, 05 Mar 2012 12:19:44 -0800
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 <email@hidden> 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 (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden