Shayan Eskandari 0f53c43d7b fix broken basic auth for async calls (#917)
* HTTP Basic Auth, some cleanups

There’s no need for additional dependency `btoa` as `XHR2` already has
the support for Basic Auth.

* remove redundant code

* fix semicolons

* Rewrite Basic Auth to support both sync and async calls.

* semicolon consistency
2017-07-05 14:55:06 +02:00
..
2017-06-23 14:57:11 +02:00