Internal server error when PUT requesting while logged in.

19 views
Skip to first unread message

Vivien Leroy

unread,
Mar 25, 2013, 8:35:33 PM3/25/13
to gauge...@googlegroups.com
Hi,

I'm using NSURLConnection from Cocoa to connect to server and NSURLConnection add Cookies from any other NSURLConnection app (such as Safari) to its request.

I build a little app and everything runs fine but when I make a PUT request it works unless I'm logged to gaug.es (and so have Cookies set).

Anyone here knows why it happens ? (The Cookie variable involved is rack.session I think, it's the only one changing when I login/logout)

Vivien Leroy

unread,
Mar 25, 2013, 8:36:13 PM3/25/13
to gauge...@googlegroups.com
Also you can try with Postman Chrome extension.


Le mardi 26 mars 2013 01:35:33 UTC+1, Vivien Leroy a écrit :
Hi,

I'm using NSURLConnection from Cocoa to connect to server and NSURLConnection add Cookies from any other NSURLConnection app (such as Safari) to its request.

I build a little app and everything runs fine but when I make a PUT request it works unless I'm logged to gaug.es (and so have Cookies set).
man 
Reply all
Reply to author
Forward
0 new messages