[TIMOB-1375] Android: File mimeTypes don't make there way to binary upload
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | Android |
Labels | android, blob, defect, xhr |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T02:50:43.000+0000 |
Updated | 2011-04-17T01:56:00.000+0000 |
Description
If you read a file into a Blob (using File.read()), and pass along the blob to XHR, the blob doesn't have the correct mime type for sending to the HTTP server
Comments
- Marshall Culpepper 2011-04-15
Odd, the resolving commit didn't close this for some reason.. here's a link for reference:
http://github.com/appcelerator/titanium_mobile/commit/bc2037a9adcb1170d800b6bc1eaa5bf7124ea693"> http://github.com/appcelerator/titanium_mobile/commit/bc2037a9adcb1...
- Marshall Culpepper 2011-04-15
(from [bc2037a9adcb1170d800b6bc1eaa5bf7124ea693]) delegate to TiBlob for file reading from TiFile, make sure file mimetype is read from a TiResourceFile. [#1375 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/bc2037a9adcb1170d800b6bc1eaa5bf7124ea693"> http://github.com/appcelerator/titanium_mobile/commit/bc2037a9adcb1...