plamen5kov
7164391849
added nativescript key to existing package.json files and added package.json files where missing
2016-05-13 14:34:03 +03:00
vakrilov
dca202d670
Attach toString() method to xhr response
2016-04-18 11:38:13 +03:00
Vladimir Enchev
2c60bfbafc
null ref fixed
2016-03-11 18:45:10 +02:00
vakrilov
97665fd273
Sometimes the content header has charset info
2016-02-19 13:46:36 +02:00
Hristo Deshev
e452aff658
Detect JSON response in XHR and auto-parse the response.
...
- Part of the XMLHttpRequest level 2 API.
- Fixes a crash with the Angular2 Http service.
2016-02-02 13:10:41 +02:00
Hristo Deshev
75796ea14c
Ignore request body for XHR GET requests.
...
Raises an error on Android. Caused by the Angular XHR backend sending an
empty string.
2015-10-29 15:01:08 +02:00
Hristo Deshev
2f92cb3ff4
Implement XHR addEventListener/removeEventListener events.
...
- Used by the Angular XHRBackend service.
- Only supporting 'load' and 'error' now.
- Not implemented as weak events. Client responsible for detaching or not
keeping a reference to the XHR object forever. (NG XHRBackend does so)
2015-10-29 15:01:08 +02:00
Stefan Dobrev
8c65427730
Fix XHR statusText property to return just the text
...
In order to follow the spec the XHR statusText property should
return just the status text without the status code. Adding
tests to guard this behavior.
2015-08-14 20:05:10 +03:00
Vladimir Enchev
e2f464e1d2
FormData support added
2015-07-20 14:42:29 +03:00
Vladimir Enchev
d3c987f827
XMLHttpRequest separated from http module
2015-07-20 10:58:29 +03:00