[TIMOB-23214] Windows: raulriera/XHR doesn't work with HTTPClient implementation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-15T14:30:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.3.0 |
Components | Windows |
Labels | n/a |
Reporter | Rene Pot |
Assignee | Kota Iguchi |
Created | 2016-04-14T15:42:18.000+0000 |
Updated | 2016-04-28T22:23:16.000+0000 |
Description
Need to investigate, but I heard a report that this https://github.com/raulriera/XHR wasn't working on Windows Phone for them. They just tried a simple get and it silently failed at send().
I was using Basic Authentication, but that aspect works just fine outside the lib. This lib somehow crashes it.
Would also like to point out I've tried it with 5.2.0.GA, 5.2.1, 5.2.2 and 5.3.0. I've also used different versions of alloy (via using appc use 5.2.0 and 5.2.2)
https://github.com/appcelerator/titanium_mobile_windows/pull/626
Merged to master (5.4.0), cherry-picked to 5_3_X. Added a unit test to our mocha suite.
Verified using: Windows 10 Pro Visual Studio 2015 Community Update 2 Appc Core: 5.3.0-40 Appc NPM: 4.2.5-3 Ti SDK: 5.3.0.v20160428072113 When setting the Content-Type header for a request and not sending any content, the request now works, raulriera/XHR now works as expected. Closing ticket