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

762 Commits

Author SHA1 Message Date
Martti Laine 4e8039ef65 Remember socketPath in mergeConfig 2018-04-10 22:29:02 +02: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
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
Martti Laine d1154eae3f Merge branch 'instance-options' of github.com:codeclown/axios into instance-options 2018-03-09 13:58:35 +02:00
Martti Laine d78204712a Clean up PR 2018-03-09 13:58:08 +02:00
Martti Laine 0445d6c39e Merge branch 'master' into instance-options 2018-03-02 12:32:47 +02:00
Martti Laine 5bfd2ea9f6 Fixing #385 - Keep defaults local to instance 2018-03-02 12:31:15 +02:00
Emily Morehouse d4dc124f15 Merge pull request #1276 from dericcain/patch-1
Added a simple async/await example
2018-02-22 20:03:46 -07:00
Deric Cain 3ca049924e Actually added the Async example
Also, added notes about using Async/Await with caution
2018-02-21 08:46:48 -06:00
Emily Morehouse a105872c1e Merge pull request #1122 from Nilegfx/bugfix/allow-method-in-instance-config
Fixing default method for an instance always overwritten by get
2018-02-19 23:39:06 -07:00
Emily Morehouse b6920570c5 Merge branch 'master' into bugfix/allow-method-in-instance-config 2018-02-19 23:33:44 -07:00
Emily Morehouse d59c70fdfd Releasing v0.18.0 2018-02-19 16:23:58 -07:00
Emily Morehouse 48a790222c Prepping for release: updating CHANGELOG. 2018-02-19 16:22:30 -07:00
Emily Morehouse 5b2ea2e54c Merge pull request #1364 from MiguelMadero/mmadero/documents-timeout
Documents default
2018-02-17 09:28:47 -07:00
Emily Morehouse 23ba29602c Merge pull request #1342 from alpancs/instance-bug-fix
fix cannot send post method
2018-02-16 19:58:48 -07:00
Emily Morehouse b6b0865352 Merge pull request #1363 from mdlavin/patch-1
Add reference to axios-fetch in ECOSYSTEM.md
2018-02-16 18:42:33 -07:00
Emily Morehouse 821d5e245a Merge pull request #1366 from emilyemorehouse/fix/1070
Follow up to #1070 - adding documentation and tests
2018-02-16 18:35:48 -07:00
Emily Morehouse 4ea77b70b7 Follow up to #1070:
- Adding information in README for socketPath when used with a proxy
- Adding an HTTP test for socketPath option
2018-02-16 17:18:58 -07:00
Emily Morehouse ccc78899bb Merge pull request #1070 from Starfox64/master
Adding support for UNIX Sockets
2018-02-16 17:05:48 -07:00
MiguelMadero f7310ca083 Documents the timeout default 2018-02-14 17:49:39 -08:00
Matt Lavin f1a0feb2cd Add reference to axios-fetch in ECOSYSTEM.md
Add reference to a Fetch implementation based on an Axios client
2018-02-14 12:03:37 -05:00
Emily Morehouse 40b829994c Merge pull request #1357 from emilyemorehouse/fix/1286
Companion for #1286 and #1287 - also updating follow-redirects version in package.json
2018-02-11 13:30:28 -06:00
Emily Morehouse 839b9ab3e7 Fixes #1286 - also updating follow-redirects version in package.json to ensure that maxBodyLength option is supported 2018-02-11 13:27:46 -06:00
Emily Morehouse f26e0c0e7a Merge pull request #1287 from mividtim/mividtim/follow-redirects-max-length
Set maxBodyLength on follow-redirects to match maxContentLength on AxiosOptions
2018-02-11 13:25:55 -06:00
Emily Morehouse 14057dc0bd Merge pull request #1273 from jcrben/master
adding codetriage badge
2018-02-07 20:23:28 -07:00
Alfan Nur Fauzan 7a355ff432 fix cannot send post method 2018-02-07 12:47:24 +07:00
Nick Uraltsev 604e8dd860 Merge pull request #1314 from penance316/master
Adding example of cancelling a POST request to readme
2018-01-22 08:41:09 -08:00
Nero a8de2cf485 update example according to feedback from PR 2018-01-22 16:36:45 +00:00
Nick Uraltsev b004db40d4 Merge pull request #1188 from 38elements/patch-1
Removing unused dependencies
2018-01-22 08:14:48 -08:00
Nero c51054f24d add example of cancelling a POST request to readme
it seems when cancelling a post request we need to specify cancellation token as an axios parameter and not as a data item.
2018-01-22 13:00:21 +00:00
Tim Garthwaite 89bf42b946 Fix typo 2018-01-11 12:54:29 -05:00
Tim Garthwaite e452f761f7 Don't set maxBodyLength in follow-redirects if maxContentLength is -1 2018-01-11 10:44:40 -05:00
Tim Garthwaite bbfa7bfacc Fixing maxBodyLength exceeded error form follow-redirects when axios's maxContentLength is not exceeded 2018-01-11 08:55:02 -05:00
Nick Uraltsev 138108ee56 Merge pull request #1279 from robaxelsen/docs-ecosystem-adding-library
Adding redux-saga-requests to ecosystem in docs
2018-01-10 21:09:16 -08:00
Robert Axelsen 66280b037e Adding redux-saga-requests to ecosystem in docs
Closes #1100.
2018-01-09 20:39:43 +01:00
Nick Uraltsev 6e605016f0 Merge pull request #1272 from aaronang/github-templates
Fix Markdown formatting for issue and pull request template
2018-01-08 08:29:53 -08:00
Deric Cain d8cce2017d Added a simple async/await example
Since `async/await` is not widely used, and I have seen quite a few questions on how to actually use `async/await` with Axios, I figured it would be nice to have it in the readme, front and center.
2018-01-08 06:15:16 -06:00
Ben Creasy 547f3f31fa adding codetriage badge 2018-01-07 11:36:59 -08:00
Aaron Ang 7ee6ec5a84 Fix Markdown formatting for issue and pull request template
[skip ci]
2018-01-06 22:43:43 -08:00
Nick Uraltsev db44a8f316 Merge pull request #1254 from evanshortiss/ts-instance-fix
Fixing type definitions so AxiosInstance can be invoked
2018-01-06 15:15:48 -08:00
Nick Uraltsev 84a00b2227 Merge pull request #1192 from punit-gupta01/master
Fixing interface of axios instance
2018-01-06 15:13:57 -08:00
Nick Uraltsev ae218d0131 Merge pull request #1198 from liutao/patch-1
Update buildURL.js
2018-01-05 08:33:57 -08:00
Nick Uraltsev 8be4d65cdd Merge pull request #1264 from m1guelpf-forks/patch-1
Update license date
2018-01-05 08:30:15 -08:00
Miguel Piedrafita 145b63e8e6 Update license date 2018-01-01 00:57:34 +01:00
Punit Gupta 521a429f2d fix(index.d.ts): Remove redundant types 2017-12-21 15:24:34 +05:30