• 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: Translate curl command to NSURLRequest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Translate curl command to NSURLRequest


  • Subject: Re: Translate curl command to NSURLRequest
  • From: Antonio Nunes <email@hidden>
  • Date: Sun, 05 Jul 2015 06:46:17 +0100

On 04 Jul 2015, at 22:03, Jens Alfke <email@hidden> wrote:
>
> (Sending a GET request with a body is pretty unusual, but I assume that’s what the server wants since you say the curl command works…)

Yes, I’m not happy about this, and I think this is also what is causing the issue, since it looks like the body is not being sent along with the GET request. (Although I would expect the server to send a 500 error then, rather than dropping the connection, as it does when not sending the body through the curl command.)

-António
_______________________________________________

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: 
 >Translate curl command to NSURLRequest (From: Antonio Nunes <email@hidden>)
 >Re: Translate curl command to NSURLRequest (From: Rick Mann <email@hidden>)
 >Re: Translate curl command to NSURLRequest (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Translate curl command to NSURLRequest
  • Next by Date: Re: NSNumberFormatter Issues
  • Previous by thread: Re: Translate curl command to NSURLRequest
  • Next by thread: Re: Translate curl command to NSURLRequest
  • Index(es):
    • Date
    • Thread