Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1158] POST always send data in multipart messages

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:22.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, defect, httpclient
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T02:45:26.000+0000
Updated2011-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

Comments

  1. Marshall Culpepper 2011-04-15

    (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...

JSON Source