deepakpios / cocoa-rest-client

Automatically exported from code.google.com/p/cocoa-rest-client
Other
0 stars 0 forks source link

Is CocoaRestClient hiding some Cookies/Headers from me? #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am requesting a resource protected by basic access auth.
I enter the username/password and it works fine.
Then I "clear" the username/password and make my request again ... I am still 
authenticated!
I stay authenticated until I restart the CocoaRestClient.

I suspect that the client keeps the JSESSIONID that the server sends, and uses 
it for the next request.
Let's assume that's OK (debatable), at the very least I would want to see this 
new header in my request and be able to remove it no??

Original issue reported on code.google.com by nash...@gmail.com on 4 Feb 2015 at 9:55