• 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
NSURLConnection connectionDidFailWithError: hides server response
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLConnection connectionDidFailWithError: hides server response


  • Subject: NSURLConnection connectionDidFailWithError: hides server response
  • From: John Fox <email@hidden>
  • Date: Wed, 5 Oct 2005 14:01:35 -0700

Hello:

I'm scratching my head a little bit here.

If I use NSURLConnection to POST data to a server, and there's a server side error, and I implement the delegate method:

- (void)connection:(NSURLConnection *)connection didFailWithError: (NSError *)error

How do I get the actual response from the server. Using a packet sniffer, I can see that there's an actual response which is informative, but nowhere in the error can I find the actual server's response.

Can some kind soul help me, please?

John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSURLConnection connectionDidFailWithError: hides server response
      • From: Brian Bergstrand <email@hidden>
  • Prev by Date: NSTableView issues
  • Next by Date: Custom View for "Accessories"
  • Previous by thread: Re: NSTableView issues
  • Next by thread: Re: NSURLConnection connectionDidFailWithError: hides server response
  • Index(es):
    • Date
    • Thread