Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5333] Android: HTTPRequest send method does not accept the objects specified in the documentation

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T22:58:13.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sn/a
ComponentsAndroid
Labelsparity, tbs-2.1.0
ReporterRick Blalock
AssigneeIngo Muschenetz
Created2011-09-21T17:54:18.000+0000
Updated2017-06-07T22:58:13.000+0000

Description

This is either a documentation issue (should be iOS only) or a bug in Android - unsure which. Currently on Android the following are not possible but work in iOS
xhr.send(someImage.toBlob());
xhr.send(someImage.toImage());
xhr.send(Ti.Filesystem.getFile(...));
However this does work:
xhr.send({
   media: someImage.toImage()
});
XHR send() docs - http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Network.HTTPClient.send-method.html

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to time passed.

JSON Source