1. 16 10月, 2019 1 次提交
  2. 09 10月, 2019 1 次提交
  3. 13 9月, 2019 1 次提交
  4. 07 9月, 2019 1 次提交
  5. 06 9月, 2019 1 次提交
    • D
      Axios create url bug (#2290) · 89bd3abe
      DIO 提交于
      * Fix #2234 
      
      * added spacing --eslint
      
      * added test cases
      
      * removed unexpected cases after updating the code
      89bd3abe
  6. 05 9月, 2019 1 次提交
    • M
      Do not modify config.url when using a relative baseURL (resolves #1628) (#2391) · 6fe506fd
      multicolaure 提交于
      * Adding tests to show config.url mutation
      
      Because config.url is modified while processing the request
      when the baseURL is set,
      it is impossible to perform a retry with the provided config object.
      
      Ref #1628
      
      * Fixing url combining without modifying config.url
      
      As config.url is not modified anymore during the request processing.
      The request can safely be retried after it failed with the provided
      config.
      
      resolves #1628
      6fe506fd
  7. 04 9月, 2018 1 次提交
  8. 27 8月, 2018 1 次提交
    • R
      Preserve HTTP method when following redirect (#1758) · 21ae22db
      Rikki Gibson 提交于
      Resolves #1158
      
      This modifies http.js to uppercase the HTTP method, similar to xhr.js, before passing the request off to the transport. This causes follow-redirects to preserve the HTTP method when automatically making a request to the next URL.
      21ae22db
  9. 20 8月, 2018 1 次提交
  10. 08 8月, 2018 1 次提交
    • C
      Adding support for no_proxy env variable (#1693) · 38de2525
      Chance Dickson 提交于
      * Adding support for no_proxy env variable
      
      * Adds support for the no_proxy environment variable commonly available
        with programs supporting the http_proxy/https_proxy environment
        variables.
      * Adds tests to test the no_proxy environment variable.
      
      * Adding documentation for the proxy env variables
      
      * Adds documentation to README.md for the supported, conventional
        http_proxy, https_proxy, and no_proxy environment variables.
      38de2525
  11. 07 8月, 2018 1 次提交
  12. 06 8月, 2018 4 次提交
  13. 06 7月, 2018 1 次提交
  14. 05 7月, 2018 1 次提交
  15. 18 6月, 2018 1 次提交
  16. 11 4月, 2018 1 次提交
  17. 07 4月, 2018 1 次提交
  18. 04 4月, 2018 1 次提交
  19. 16 3月, 2018 1 次提交
  20. 08 3月, 2018 1 次提交
  21. 06 3月, 2018 1 次提交
  22. 02 3月, 2018 1 次提交
  23. 17 2月, 2018 1 次提交
    • E
      Follow up to #1070: · 4ea77b70
      Emily Morehouse 提交于
      - Adding information in README for socketPath when used with a proxy
      - Adding an HTTP test for socketPath option
      4ea77b70
  24. 21 12月, 2017 1 次提交
  25. 29 9月, 2017 1 次提交
  26. 30 8月, 2017 1 次提交
  27. 14 8月, 2017 1 次提交
    • J
      Adding a way to disable all proxy processing (#691) · 07a7b7c8
      Julien Roncaglia 提交于
      * Adding a way to disable all proxy processing
      
      When the proxy field in configuration is === false all proxy processing is
      disabled. This specifically disable the 'http_proxy' environment variable
      handling.
      
      Fixes #635
      Related to #434
      
      * Change readme wording
      
      From review comment on PR (#691)
      07a7b7c8
  28. 12 8月, 2017 2 次提交
    • T
      Duplicate header handling (#874) · fb08e956
      Tyler Brown 提交于
      * Update parseHeaders to match node http behavior
      
      Node ignores duplicate entries for certain HTTP headers.
      
      It also always converts the `set-cookie` header into an array.
      
      * add tests for new duplicate header handling
      
      * clarify comment
      fb08e956
    • H
      Fixing baseURL not working in interceptors (#950) · 2b856269
      Haven 提交于
      * Fixing baseURL not working in interceptors
      
      * add test for  modify base URL in request interceptor
      2b856269
  29. 31 5月, 2017 1 次提交
  30. 09 4月, 2017 1 次提交
  31. 08 4月, 2017 2 次提交
  32. 15 3月, 2017 1 次提交
  33. 02 3月, 2017 1 次提交
  34. 30 1月, 2017 1 次提交
  35. 08 12月, 2016 1 次提交
    • L
      Fixing combineURLs to support an empty relativeURL (#581) · fe7d09bb
      Lochlan Bunn 提交于
      * Fixing combineURLs to support an empty relativeURL
      
      When combining the base and relative URLs, we should forego force
      appending a slash to the base when the relative URL is empty.
      This leads to a semantic url.
      
      * Fixing combineURLs, allowing single slash relatives
      fe7d09bb