[TIMOB-1158] POST always send data in multipart messages
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:55:22.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.4.0 |
| Components | Android |
| Labels | android, defect, httpclient |
| Reporter | Marshall Culpepper |
| Assignee | Marshall Culpepper |
| Created | 2011-04-15T02:45:26.000+0000 |
| Updated | 2011-04-17T01:55:22.000+0000 |
Description
We should detect Blob/File input and only use URL encoded data when there isn't any binary data
(from [f3cd3a3c0369eb446fbb4a6519f3926faa879d95]) detect whether or not we actually need multipart mime before sending POST messages in this format everytime (the default is form / URL encoded). some light refactoring to make the code a little easier to read. [#1158 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/f3cd3a3c0369eb446fbb4a6519f3926faa879d95"> http://github.com/appcelerator/titanium_mobile/commit/f3cd3a3c0369e...