Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caseless header comparing in HTTP adapter. #2880

Merged

Commits on Apr 7, 2020

  1. Caseless header comparing in HTTP adapter.

    It was adding User-Agent and removing Authorization, but only when
    existing headers had the exact right casing. Node uses caseless logic
    when managing headers.
    
    This was causing some requests to have `User-Agent` appended to the
    headers object and overriding provided agent strings.
    
    Also included is an update to not override the `Content-Length` if it
    was already defined in the options. It can be desirable to manually
    specify a content length that does not match the data on hand.
    Especially for testing.
    mastermatt committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    57d2ebd View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2021

  1. Configuration menu
    Copy the full SHA
    34c4e8d View commit details
    Browse the repository at this point in the history
  2. Fix eslint error

    jasonsaayman committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    fac6c3f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2021

  1. fixup: update state UA logic

    Play nice with axios#3703
    mastermatt committed Sep 6, 2021
    Configuration menu
    Copy the full SHA
    8843477 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85f749b View commit details
    Browse the repository at this point in the history