Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1334] HTTPClient.getAllResponseHeaders returns an empty object

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionCannot Reproduce
Resolution Date2015-09-15T03:46:47.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupportTriage
ReporterZach Babb
AssigneeShak Hossain
Created2014-08-04T19:15:58.000+0000
Updated2016-03-08T07:37:44.000+0000

Description

The getAllResponseHeaders method on HTTPClient returns an empty object on Android. It used to return an object with all headers.

Comments

  1. Shuo Liang 2014-08-06

    Hi, Can you tell me what kind of device did you use to reproduce the problem, as I can't reproduce your problem. And also you can try different url, as some url may not have headers. Regards, Shuo
  2. Zach Babb 2014-08-06

    I was using a Samsung Galaxy S5, running 4.4.4. The API is a known internal API which definitely has headers. Thanks, -Zach
  3. Shak Hossain 2015-09-15

    Thanks for reporting the issue. We tested this but we could not reproduce it. Please try out our latest Studio and SDK and test again. If you still run into the same error, please reopen this ticket.

JSON Source