Matt Zabriskie
11c12b2c65
Merge pull request #121 from azendoo/custom-encode-params-method
...
Add support third-party library to serialize url params
2015-10-27 14:48:02 -06:00
David Fournier
14ede9e18e
Add support third-party library to serialize url params
2015-10-27 11:54:44 +01:00
Konstantin Baumann
84a0ddecd4
http adapter: return a Buffer instead of a String in case of responseType === 'arraybuffer'
2015-10-15 17:28:38 +02:00
mzabriskie
6aa766e5e9
Adding support for web workers, and react-native
...
closes #70 , closes #98
2015-09-28 18:33:46 -06:00
Matt Zabriskie
2a6d7c2a38
Merge pull request #102 from nlf/master
...
allow passing an agent through to node http requests, closes #68
2015-09-21 16:44:06 -06:00
mzabriskie
2936cdce14
Reverting default X-Requested-With header for xhr
...
for more details see https://remysharp.com/2011/04/21/getting-cors-working
2015-09-21 13:58:35 -06:00
mzabriskie
ffc0237a17
Adding support for timeout config
...
closes #56
2015-08-10 19:00:27 -06:00
Nathan LaFreniere
11c0b0aa10
allow passing an agent through to node http requests, closes #68
2015-08-05 12:13:16 -07:00
mzabriskie
db85c7bf3a
Fixing issue with User-Agent getting overridden
...
closes #69
2015-06-18 21:19:46 -06:00
mzabriskie
1629a026da
Adding X-Requested-With header
2015-04-12 16:07:32 -06:00
mzabriskie
60a82ef424
Changing to file level use strict statement
2015-03-18 17:21:15 -06:00
mzabriskie
a98c61f458
Adding ESLint
2015-03-17 14:14:26 -06:00
mzabriskie
69af75623c
Adding statusText to response
...
closes #46
2015-03-13 17:07:52 -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
torkvalo
4f34f61b70
Delete fails in IE8/IE9, the verb needs to be capitalized.
2014-12-10 13:20:19 +01: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
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
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
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