• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLRequests and Firewalls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLRequests and Firewalls


  • Subject: Re: NSURLRequests and Firewalls
  • From: Alex Zavatone <email@hidden>
  • Date: Mon, 05 Mar 2012 16:01:17 -0500

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 <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


References: 
 >Re: How are views supposed to reload after being nillified by memory warnings? (From: Matt Neuburg <email@hidden>)
 >Re: How are views supposed to reload after being nillified by memory warnings? (From: David Duncan <email@hidden>)
 >NSURLRequests and Firewalls (From: Alex Zavatone <email@hidden>)
 >Re: NSURLRequests and Firewalls (From: Erik Stainsby <email@hidden>)

  • Prev by Date: Re: NSURLRequests and Firewalls
  • Next by Date: Re: Releasing WSMethodInvocationInvoke()
  • Previous by thread: Re: NSURLRequests and Firewalls
  • Next by thread: Re: How are views supposed to reload after being nillified by memory warnings?
  • Index(es):
    • Date
    • Thread