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

520 Commits

Author SHA1 Message Date
Matt Zabriskie ea673057aa Trying to get a green run on saucelabs 2016-03-04 00:20:58 -07:00
Matt Zabriskie 03f291177d Merge branch 'master' of github.com:mzabriskie/axios 2016-03-03 23:35:43 -07:00
Matt Zabriskie b17e109eea Hooking things up to saucelabs
closes #180
2016-03-03 23:35:33 -07:00
Matt Zabriskie 6f32ca772b Increasing timeout so test doesn't fail in Safari 2016-03-03 23:34:38 -07:00
Matt Zabriskie 62ad1f2b0b Making validation of invalid character error less strict 2016-03-03 23:16:42 -07:00
Matt Zabriskie e7aa98f9f5 Improving tests in anticipation for saucelabs support 2016-03-03 22:44:16 -07:00
Matt Zabriskie e2fbc68960 Removing console.log 2016-03-03 22:43:38 -07:00
Matt Zabriskie 7041775943 Changing btoa ponyfill to improve testing 2016-03-03 22:43:16 -07:00
Matt Zabriskie 32080df31b Merge pull request #227 from rogeriochaves/master
Handle timeout on XHR requests
2016-03-02 18:17:51 -07:00
Matt Zabriskie 6d3d266616 Adding code of conduct and collaborator guide 2016-03-02 13:41:14 -07:00
Matt Zabriskie 8d51b68bc4 Merge pull request #252 from ajcrites/basic-auth-245
Fixing 245: Basic auth for node http adapter
2016-03-02 12:31:09 -07:00
Matt Zabriskie a383bd5cf4 Merge pull request #250 from staticinstance/staticinstance-patch-248
patch for issue 248 (send null instead of undefined)
2016-03-02 12:28:06 -07:00
Matt Zabriskie e23f765cdc Merge pull request #254 from ericmdantas/tsc-import
doc(readme): uses latest syntax for Typescript import
2016-03-02 11:54:11 -07:00
Rogério Chaves ed4a4dc9a9 Uses the same timeout error message on XHR adapter than HTTP adapter 2016-03-02 15:16:01 -03:00
Eric Mendes Dantas 53ddefe8ad doc(readme): uses latest syntax for Typescript import 2016-03-01 07:54:11 -03:00
goyalr 1696d1ca55 IE9 fix for cors api calls are timing out prematurely 2016-02-29 15:48:12 -05:00
goyalr 29f5b9b66d Fixed axios promise rejection for cors api calls in IE9 2016-02-29 15:41:34 -05:00
Andrew Crites 116f5fca88 Fixing 245:
Formatting and adding tests
2016-02-28 22:51:20 -05:00
Andrew Crites 76cb7eeba9 Fixing 245:
Parse basic auth from URL and submit with http adapter
2016-02-28 22:42:02 -05:00
Michael Bradley 1c32e2ab8d remove trailing spaces 2016-02-26 13:34:20 -08:00
Michael Bradley 68a45b5e3e use multi line ternary operator
https://github.com/felixge/node-style-guide#use-multi-line-ternary-operator
2016-02-26 08:59:40 -08:00
Michael Bradley a63e7cd8ca Fix for https://github.com/mzabriskie/axios/issues/248
undefined is not valid JSON, make the value null instead.

JSON.parse(undefined) will throw an exception while JSON.parse(null) is acceptable.

http://stackoverflow.com/a/14946821/5012948
2016-02-26 08:55:54 -08:00
Matt Zabriskie dbd2c11454 Merge pull request #234 from samueleaton/master
switches check order of xhr/http for electron
2016-02-25 09:12:55 -07:00
Colin Timmermans ca0617061e Fixing IE8 support by bringing back onreadystatechange
Fixes #241
2016-02-25 13:33:58 +01:00
Matt Zabriskie 1d782c7baf Merge pull request #221 from 1000ch/fix-typo
Fix typo
2016-02-24 14:43:59 -07:00
Matt Zabriskie a763c3d28a Merge pull request #235 from incrediblesound/patch-1
Small grammar fix in UPGRADE_GUIDE.md
2016-02-19 09:22:10 -07:00
James H Edwards 5602a32586 Update UPGRADE_GUIDE.md
removed superfluous 'the'

original line "...the polyfill has been removed, and you will need to supply the it yourself if your environment needs it."
new line      "...the polyfill has been removed, and you will need to supply it yourself if your environment needs it."

Nothin else has been changed.
2016-02-16 09:16:45 -08:00
samueleaton ddc965831c switches check order of xhr/http for electron 2016-02-15 22:38:56 -07:00
Rogério Chaves 893c061dd6 Handle timeout on XHR requests 2016-02-05 16:26:58 -02:00
1000ch ca12c05882 fix typo 2016-02-02 21:09:25 +09:00
Matt Zabriskie 235f34312c Merge pull request #216 from kvzivn/patch-1
Update README.md
2016-01-29 03:15:21 -07:00
Kevin Ivan 8cce065414 Update README.md
Everyone can not clone from there.
2016-01-29 09:32:50 +01:00
Matt Zabriskie e26055a63b Merge pull request #212 from marcelometal/patch-1
Fixed typo in README.md
2016-01-25 10:06:21 -07:00
Marcelo Jorge Vieira 02a1f2d9a0 Fixed typo in README.md
Replaced 'instace' with 'instance'
2016-01-25 14:58:11 -02:00
Matt Zabriskie 70ef49eeb9 Bit of code cleanup 2016-01-24 15:27:30 -07:00
Matt Zabriskie 5176623d6c Releasing 0.9.1 2016-01-24 15:18:24 -07:00
Matt Zabriskie 3edcfa25b7 Updating README 2016-01-24 15:03:11 -07:00
Matt Zabriskie 7a16f72895 Improving logic for handling timeout in node
closes #124
2016-01-22 16:27:54 -07:00
Matt Zabriskie d31ebc4c50 Normalize response status for HTTP 204 in MSIE 2016-01-22 14:40:44 -07:00
Matt Zabriskie c73389e69d Merge pull request #202 from savantaparna/master
Fixing #201 by treating status code 1223 as a success code.
2016-01-22 14:00:09 -07:00
Matt Zabriskie bee0b28fde Merge pull request #205 from latentflip/fix-204
Fixing reject not being called on xhr network errors.
2016-01-22 09:57:46 -07:00
Philip Roberts 252876c2c0 Fixing reject not being called on xhr network errors.
Fixes #204
2016-01-22 16:39:41 +00:00
savantaparna 1f2d79038c Fixing #201 by treating status code 1223 as a success code. 2016-01-21 17:46:13 -08:00
Matt Zabriskie a473744e05 Merge pull request #198 from gschambers/redirect-hostname
Fixes redirect behavior to correctly set host
/port
2016-01-19 08:32:08 -07:00
Gary Chambers f44d9ce677 Fixing redirect behaviour 2016-01-19 14:51:14 +00:00
Matt Zabriskie 7ec97dd26b Releasing 0.9.0 2016-01-18 11:18:39 -07:00
Matt Zabriskie 6f13a7591b Only strip Content-Type header if data is undefined 2016-01-18 11:04:10 -07:00
Matt Zabriskie dea613ae4b Merge pull request #195 from vandosant/master
Fixing #184 Content type removed if data is false
2016-01-17 22:07:56 -07:00
vandosant 71aadd604d Fixing #184 Content type removed if data is false 2016-01-17 21:25:21 -07:00
Matt Zabriskie 20e724af80 Adding failing test for #184 2016-01-17 17:10:57 -07:00