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

115 Commits

Author SHA1 Message Date
mzabriskie e880940099 Stray console.log 2015-02-02 23:11:09 -07: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
Matt Zabriskie d27cef35ba Merge pull request #37 from nnarhinen/arraybuffer
Add support for arraybuffer requests in browser
2015-01-25 15:00:56 -07:00
Niklas Närhinen 21f4a7f544 Add support for arraybuffer requests in browser 2015-01-25 14:00:22 +02:00
mzabriskie fa6c26a0e5 Releasing 0.5.0 2015-01-23 03:11:24 -07:00
mzabriskie a9bcc8f419 Upgrading es6-promise dependency 2015-01-23 02:53:22 -07:00
mzabriskie 59763d3989 Updating README 2015-01-23 02:12:48 -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
mzabriskie 7b05902b3c Moving webpack config to it's own file 2015-01-23 01:29:05 -07:00
mzabriskie 2d5250ce0a Releasing 0.4.2 2014-12-11 00:11:25 -07:00
mzabriskie d65f9f7eea Merging master 2014-12-10 23:53:05 -07:00
mzabriskie 1b2cc9ffe3 Fixing issue with standalone build
closes #29
2014-12-10 23:51:40 -07:00
Matt Zabriskie 32ca449939 Merge pull request #30 from torarnek/master
Fixing errors caused by lowercase verb
2014-12-10 08:49:41 -07:00
torkvalo ecd9f7391c Fixes failing tests for the IE8/IE9 capitalized verb bug. 2014-12-10 13:37:11 +01:00
torkvalo 4f34f61b70 Delete fails in IE8/IE9, the verb needs to be capitalized. 2014-12-10 13:20:19 +01:00
Matt Zabriskie b9fb9fec49 Merge pull request #27 from jmdobry/feature-interceptors
Adding support for interceptors
2014-12-08 12:27:48 -07:00
Jason Dobry 5bb39f3279 Initial interceptor implementation. 2014-12-06 00:14:28 -07:00
mzabriskie eba892d9ba Updating TypeScript definition 2014-12-05 23:25:18 -07:00
Matt Zabriskie 738af701bb Merge pull request #25 from blittle/master
Add a TypeScript definition for Axios with included tests
2014-12-02 16:32:52 -07:00
Bret Little 7753adde2c Add a TypeScript definition for Axios with included tests 2014-11-18 15:53:04 -07:00
Matt Zabriskie d93df704a2 Merge pull request #22 from nnarhinen/formdata-content-type
Fixing issue with Content-Type when uploading FormData
2014-11-04 10:47:46 -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 789baf3a58 Releasing 0.4.1 2014-10-15 12:17:36 -06:00
mzabriskie 7e422d1463 Updating README 2014-10-15 12:10:26 -06:00
mzabriskie 5fce14d9ec Adding error handling to request for node.js - closes #18 2014-10-15 10:29:40 -06:00
mzabriskie 1d6430f667 Releasing 0.4.0 2014-10-05 17:52:57 -06:00
mzabriskie e0b1bb6d0b Adding banner to all min files 2014-10-05 17:45:40 -06:00
mzabriskie ede39aaea9 Adding tests for transformers 2014-10-05 17:27:25 -06:00
mzabriskie e3308899d3 Adding custom URL support in sandbox client 2014-09-30 08:55:36 -06:00
mzabriskie 8c3fc8fa8a Updating README 2014-09-29 22:41:49 -06:00
mzabriskie 2eda22127e Deprecating success/error in favor of then/catch 2014-09-29 22:37:04 -06:00
mzabriskie 38d429f6dc Supporting standalone build without bundled es6-promise - #11 2014-09-28 16:11:39 -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
Matt Zabriskie c0201fd419 Merge pull request #13 from mathbruyen/utf8_content_length
Handle UTF-8 multibyte sequences in node
2014-09-21 16:00:03 -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
mzabriskie 72a91ef2b0 Adding LICENSE 2014-09-18 13:10:00 -06:00
mzabriskie 2a06e3b307 Updating ignores 2014-09-18 13:09:52 -06:00
mzabriskie 89bd626b87 Merging master 2014-09-18 13:02:06 -06:00
mzabriskie 87b5317114 Adding CONTRIBUTING.md 2014-09-18 13:01:37 -06:00
mzabriskie 13fb3e80b0 Adding descriptions to grunt tasks 2014-09-18 13:01:25 -06:00
Matt Zabriskie c03e51ce83 Merge pull request #10 from mathbruyen/arraybuffer
Allow ArrayBuffer and related views as data
2014-09-18 12:13:35 -06: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 d8f687dc52 Releasing 0.3.1 2014-09-16 18:32:42 -06:00