Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2862] HTTP Client: getResponseHeader("Set-Cookie") doesn't work on Apache

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2011-06-13T17:43:00.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterHorst Koehler
AssigneeTony Guntharp
Created2011-05-31T09:52:07.000+0000
Updated2016-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

FileDateSize
headersbug.zip2011-05-31T09:52:07.000+000011372

Comments

  1. Horst Koehler 2011-05-31

    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 :)
  2. Paul Dowsett 2011-06-13

    Don't worry, Horst - thanks for letting us know.
  3. Paul Dowsett 2011-08-16

    Closed after 30 days of inactivity.

JSON Source