Re: Translate curl command to NSURLRequest
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