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

812 Commits

Author SHA1 Message Date
Rikki Gibson 962c38b2a6 Remove isOldIE check in tests 2018-08-06 09:56:51 +02:00
Rikki Gibson a9831131c3 Remove HTTP 1223 handling
The 1223 error was fixed in IE 10. See https://blogs.msdn.microsoft.com/ieinternals/2012/03/01/internet-explorer-10-consumer-preview-minor-changes-list/
2018-08-06 09:56:51 +02:00
Rikki Gibson 1c2881cbe6 Remove btoa polyfill tests 2018-08-06 09:56:51 +02:00
Rikki Gibson e9c481fa5e Delete btoa polyfill 2018-08-06 09:56:51 +02:00
Rikki Gibson 5c754e6e07 Remove ie8/9 special CORS treatment and btoa polyfill 2018-08-06 09:56:51 +02:00
Rikki Gibson 0bb9aaf726 Remove ie9 custom launcher 2018-08-06 09:56:51 +02:00
Justin Beckwith 98080381fa test: use mocha instead of nodeunit (#1655) 2018-07-05 22:41:13 -07:00
Anthony Gauthier 0c4bf3cdbd Added axios-curlirize (#1653)
* Added axios-curlirize to Ecosystem documentation
2018-07-05 12:08:41 -06:00
Jim Lynch ef2240a666 Update README.md (#1484)
adding in the necessary require statement (in nodejs).
2018-07-05 08:02:41 -07:00
Khaled Garbaya 7d9a29ee4c Fixing http adapter to allow HTTPS connections via HTTP (#959) 2018-07-04 23:51:11 -07:00
Sako Hartounian 84388b0389 cleaner definitions with union types. (#1551) 2018-07-04 23:48:07 -07:00
Mark van den Broek 787c808c04 Fix: Removes usage of deprecated Buffer constructor. (#1555) (#1622) 2018-07-04 23:47:17 -07:00
Guillaume Briday d74238e151 Adding second then on axios call (#1623)
Inspired by this issue : https://github.com/axios/axios/issues/792#issuecomment-289306590
2018-07-01 20:10:04 -07:00
arpit 405fe690f9 Fix:Closing curly braces 2018-06-19 14:59:57 +02:00
arpit 8cb7d667fb [NS]: Send false flag isStandardBrowserEnv for Nativescript 2018-06-19 14:59:57 +02:00
Stephan Schneider 73cab975f0 typings: allow custom return types
response interceptor might change the type from AxiosResponse to anything they like
2018-06-18 10:48:29 +02:00
Tim Garthwaite 0b3db5d87a Fixing defaults to use httpAdapter if available (#1285)
* Fixing defaults to use httpAdapter if available
* Use a safer, cross-platform method to detect the Node environment
2018-04-11 09:23:38 -06:00
Martti Laine 961ecd129c Correctly catch exception in http test (#1475) 2018-04-11 09:23:01 -06:00
Nick Uraltsev ec97c686ef Merge pull request #1395 from codeclown/instance-options
Fixing #385 - Keep defaults local to instance
2018-04-10 15:28:12 -07:00
Martti Laine 4e8039ef65 Remember socketPath in mergeConfig 2018-04-10 22:29:02 +02:00
Shane Fitzpatrick dd16944ecf Adding better 'responseType' and 'method' type definitions by using a string literal union type of possible values (#1148) 2018-04-08 00:19:46 -07:00
Justin Beckwith 8e3b50c564 docs: es6ify the docs a little (#1461) 2018-04-08 00:18:56 -07:00
Justin Beckwith 7b11cc7181 docs: specify maxContentLength is in bytes (#1463) 2018-04-08 00:18:30 -07:00
Justin Beckwith ae1c2c3006 chore: update to latest version of a few dev dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith 4d90e231f0 chore: update to latest version of sinon 2018-04-07 15:16:14 -07:00
Justin Beckwith f620a0d4af chore: update to latest version of typescript 2018-04-07 15:16:14 -07:00
Justin Beckwith aa61bc85eb chore: update a few dev dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith 78926c308e chore: update runtime dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith aaed16ca3c Revert "fix: update a bunch of dependencies" (#1464)
This change broke the saucelabs tests for IE9.  Instead of updating all the things at once, I'm going to do one PR per dependency, making sure I don't break stuff along the way :) This reverts commit 152b063513.
2018-04-07 14:29:15 -07:00
Martti Laine 143bbbe1b9 Spec for mergeConfig, finalize logic 2018-04-07 15:54:56 +02:00
Martti Laine ff61caacb7 Slight refactor/namings/comment on mergeConfig 2018-04-07 13:40:21 +02:00
Nick Uraltsev 8c178233e1 Merge pull request #1460 from JustinBeckwith/linty
chore: upgrade eslint and add fix command
2018-04-06 22:13:53 -07:00
Justin Beckwith 22c2baf205 chore: upgrade eslint and add fix command 2018-04-06 21:50:26 -07:00
Nick Uraltsev 0d110da98c Merge pull request #1458 from JustinBeckwith/nopgklock
chore: ignore package-lock.json
2018-04-06 21:45:50 -07:00
Nick Uraltsev b2ce0de29e Merge pull request #1457 from JustinBeckwith/updatey
fix: update a bunch of dependencies
2018-04-06 21:44:03 -07:00
Justin Beckwith ecded5e58f chore: ignore package-lock.json 2018-04-06 21:21:45 -07:00
Justin Beckwith 152b063513 fix: update a bunch of dependencies 2018-04-06 21:19:49 -07:00
Lim Jing Rong cb89fae28f docs: Added ES6 example in README (#1091)
The alternative way I added is more common and requested, as seen from issues
#362 , #350. Should be helpful for the beginners ( I was personally stuck for a bit too )
2018-04-06 20:52:06 -07:00
Yutaro Miyazaki 524f5bf10a fix: Fix type error when socketPath option in AxiosRequestConfig 2018-04-06 20:44:20 -07:00
Justin Beckwith cb63021830 fix: capture errors on request data streams 2018-04-06 12:38:04 -07:00
Justin Beckwith e990a91c34 docs: clarify config order of precedence 2018-04-06 12:37:38 -07:00
Justin Beckwith 88c24d85ee docs: clarify config order of precedence 2018-04-06 11:38:58 -07:00
Martti Laine b1c378606f Prevent undefined values in mergeConfig 2018-04-03 22:29:15 +02:00
Martti Laine 506d4e8941 Unit tests for deepMerge 2018-04-03 22:19:38 +02:00
Martti Laine 6083d639c5 Rename mergeConfig arguments 2018-04-03 22:19:19 +02:00
Martti Laine 82030ae054 Use deepMerge in deepMerge 2018-04-03 21:53:17 +02:00
Martti Laine 72c66dfdec Refactor and introduce deepMerge 2018-03-23 20:21:02 +01:00
Justin Beckwith c65065ac0f capture errors on request data streams 2018-03-15 22:12:42 -07:00
Nick Uraltsev 9a6abd789f Merge pull request #869 from johntron/master
Adds option to specify character set in responses (with http adapter)
2018-03-10 09:13:04 -08:00
Martti Laine d1154eae3f Merge branch 'instance-options' of github.com:codeclown/axios into instance-options 2018-03-09 13:58:35 +02:00