2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-27 14:47:43 +03:00
Commit Graph

17 Commits

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