[AC-2862] HTTP Client: getResponseHeader("Set-Cookie") doesn't work on Apache
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-06-13T17:43:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Horst Koehler |
Assignee | Tony Guntharp |
Created | 2011-05-31T09:52:07.000+0000 |
Updated | 2016-03-08T07:47:48.000+0000 |
Description
Please check the attached usecase.
As you will notice, calling www.google.com and reading the "Set-Cookie" response parameter succeeds, but when I do the same on my own server running Apache (2.2.9) it returns null. It is definitely contained in the response header (see curl output).
Attachments
Now this is embarrasing. Please close this ticket again. I was unaware of the fact, that the server doesn't send Set-Cookie if the client doesn't request "text/html". Sorry :)
Don't worry, Horst - thanks for letting us know.
Closed after 30 days of inactivity.