[TIMOB-947] Android: File upload with PUT method fails
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:54:45.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.4.0 |
| Components | Android |
| Labels | android, defect |
| Reporter | Don Thorp |
| Assignee | Marshall Culpepper |
| Created | 2011-04-15T02:39:55.000+0000 |
| Updated | 2011-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.
(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...