Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-947] Android: File upload with PUT method fails

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:45.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeMarshall Culpepper
Created2011-04-15T02:39:55.000+0000
Updated2011-04-17T01:54:45.000+0000

Description

When using PUT or POST mime-type is not getting sent. When it is we need to use a retryable type.

Comments

  1. Marshall Culpepper 2011-04-15

    (from [98ecc4c6916c08439b61ebba052ede0f1fe0ff73]) actually pass in multipart mime types, use FileBody instead of InputStreamBody so they can be re-read, add in PUT support for multipart requests [#947 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/98ecc4c6916c08439b61ebba052ede0f1fe0ff73"> http://github.com/appcelerator/titanium_mobile/commit/98ecc4c6916c0...

JSON Source