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

improve http request handling for sources and support multiple paths on same netloc #5518

Merged
merged 3 commits into from
May 7, 2022

Commits on May 7, 2022

  1. Configuration menu
    Copy the full SHA
    b80d8ca View commit details
    Browse the repository at this point in the history
  2. improve http request handling for sources

    This change refactors HTTP repository source implementations. The
    following changes have been made.
    
    - CacheControl cache now lives within Authenticator.
    - Authenticator manages unique sessions for individual netloc.
    - CacheControl usage now respects disable cache parameter in repos.
    - Certificate and authentication logic is now managed solely within
      Authenticator for source repositories taking advantage of recent
      enhancements.
    
    These changes should allow for better handling of cases like those
    described in python-poetry#3041. Additionally, this forms the foundation for
    unifying HTTP specific logic within the code base and possibly allowing
    for migration of requests etc. if/when required.
    abn committed May 7, 2022
    Configuration menu
    Copy the full SHA
    5f57602 View commit details
    Browse the repository at this point in the history
  3. authenticator: allow multiple repos w/ same netloc

    Co-authored-by: Agni Sairent <agniczech@gmail.com>
    Co-authored-by: Dos Moonen <darsstar@gmail.com>
    3 people committed May 7, 2022
    Configuration menu
    Copy the full SHA
    4a13cf2 View commit details
    Browse the repository at this point in the history