Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7852] Issue with Android HTTPClient Implementation and the "Content-Length" header

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterBoydlee Pollentine
AssigneeUnknown
Created2012-01-19T02:23:58.000+0000
Updated2018-03-06T18:57:59.000+0000

Description

Problem Description

Add support for setting the content-length header for PUT.

Test Case

If I attempt to set the content-length header manually, then Android throws an error about I am not allowed to set the content-length header, however if I remove the content-length header setting, the receiving server only ever gets a 15-byte file, so obviously the content-length when set automatically by Android isn't correct.

Comments

No comments

JSON Source