[TIMOB-5333] Android: HTTPRequest send method does not accept the objects specified in the documentation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-07T22:58:13.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | n/a |
Components | Android |
Labels | parity, tbs-2.1.0 |
Reporter | Rick Blalock |
Assignee | Ingo Muschenetz |
Created | 2011-09-21T17:54:18.000+0000 |
Updated | 2017-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
Closing ticket due to time passed.