mzabriskie
6d03e0bd4e
Fixing issues with strict mode
...
closes #45
2015-03-10 14:28:43 -06:00
mzabriskie
0412c7666e
Fixing issue with multibyte characters in node
...
closes #38
2015-02-02 22:04:18 -07:00
mzabriskie
59093a9c61
Adding tests for responseType arraybuffer
2015-02-02 21:12:08 -07:00
Niklas Närhinen
21f4a7f544
Add support for arraybuffer requests in browser
2015-01-25 14:00:22 +02:00
mzabriskie
a9bcc8f419
Upgrading es6-promise dependency
2015-01-23 02:53:22 -07:00
mzabriskie
b4d81bd124
Adding comments
2015-01-23 02:12:28 -07:00
mzabriskie
bbf437ce4c
Cleaning up core axios a bit
2015-01-23 02:11:57 -07:00
mzabriskie
9e3830cf92
Adding support for removing interceptors
2015-01-23 01:32:54 -07:00
torkvalo
4f34f61b70
Delete fails in IE8/IE9, the verb needs to be capitalized.
2014-12-10 13:20:19 +01:00
Jason Dobry
5bb39f3279
Initial interceptor implementation.
2014-12-06 00:14:28 -07:00
Niklas Närhinen
2f4d0b8b45
Automatic Content-Type for FormData uploads
...
When data passed to axios is of type FormData we have to let the browser
create the Content-Type header so that the boundaries will get right
etc.
Usage:
```js
var data = new FormData();
data.append('field', 'some string');
data.append('file', someFile);
var opts = {
transformRequest: function(data) { return data; }
};
axios.post('/fileupload', data, opts);
```
2014-10-23 01:49:25 +03:00
mzabriskie
5fce14d9ec
Adding error handling to request for node.js - closes #18
2014-10-15 10:29:40 -06:00
mzabriskie
2eda22127e
Deprecating success/error in favor of then/catch
2014-09-29 22:37:04 -06:00
mzabriskie
1b803fb233
Moving stuff to helpers/
2014-09-22 11:12:24 -06:00
mzabriskie
edb0c3ce24
Better User-Agent name
2014-09-22 10:48:44 -06:00
mzabriskie
f406b092fc
Fixing failing tests
2014-09-22 10:47:41 -06:00
mzabriskie
77bed7c8ab
Fixing issue #9
2014-09-21 16:57:07 -06:00
mzabriskie
94b2352438
Adding SSL support for node.js - #12
2014-09-21 16:18:08 -06:00
Mathieu Bruyen
9d5a8781e3
Handle UTF-8 multibyte sequences in node
...
Content-length header was set to the length of the string, which
does not take into account multibyte sequences in UTF-8 strings.
Now converts first to a buffer to get the proper length.
2014-09-21 17:48:26 +02:00
Mathieu Bruyen
095a204c5b
Allow ArrayBuffer and related views as data
...
In order to push binary data under the form of ArrayBuffer and
its related views (Int8Array, ...) one needs not to stringify
those.
For the XHR adapter there is nothing to do as it natively supports
ArrayBuffer in req.send().
Node's http adapter supports only string or Buffer thus a
transformation to Buffer is required before setting content length
header.
2014-09-18 09:17:46 +02:00
mzabriskie
e1aa04ccee
Fixing issue #3
2014-09-16 18:23:31 -06:00
mzabriskie
59eb2b6204
Fixing issue #8
2014-09-16 11:52:56 -06:00
mzabriskie
1fa35ced3c
Fixing issue #7
2014-09-16 11:51:29 -06:00
mzabriskie
f4a334e17c
Adding support for node
2014-09-12 12:38:17 -06:00
Matt Zabriskie
c43f2b9710
Adding support for all and spread
2014-09-05 15:48:58 -06:00
Matt Zabriskie
d441f8392f
Improving the response API
2014-08-29 16:09:40 -06:00
Matt Zabriskie
774b8c8e85
Renaming options to config
2014-08-29 01:23:39 -06:00
Matt Zabriskie
7aef479c7e
Adding xsrf protection
2014-08-29 01:17:40 -06:00
Matt Zabriskie
3ae6670f77
Fixing typo
2014-08-29 01:05:49 -06:00
Matt Zabriskie
cec3482ff7
Moving utility functions into utils
2014-08-28 12:33:53 -06:00
Matt Zabriskie
d49cb34591
Updating forEach to handle non iterable values
2014-08-27 14:05:27 -06:00
Matt Zabriskie
0c7236b292
Fixing issue referencing wrong headers
2014-08-27 13:59:29 -06:00
Matt Zabriskie
c0a9184739
Using response headers
2014-08-27 03:12:29 -06:00
Matt Zabriskie
514e281a1b
Adding support for params
2014-08-27 02:08:39 -06:00
Matt Zabriskie
9096d34186
Breaking up complexity of main axios file
2014-08-27 01:06:19 -06:00
Matt Zabriskie
cd221704cf
Adding transformers
2014-08-26 11:00:07 -06:00
Matt Zabriskie
28073866a5
Fixing issue with post data
2014-08-26 09:35:33 -06:00
Matt Zabriskie
9c2528d9cc
Adding initial source
2014-08-18 17:27:33 -06:00