Commit Graph

5 Commits

Author SHA1 Message Date
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