Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: urllib3/urllib3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.2.0
Choose a base ref
...
head repository: urllib3/urllib3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.2.1
Choose a head ref
  • 14 commits
  • 28 files changed
  • 10 contributors

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    25bd2c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60c4647 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Send a clearer error message if response is truncated before a chunk

    Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>
    Co-authored-by: Ruben Laguna <ruben.laguna@gmail.com>
    Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>
    4 people authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    6ffe55b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c42b4ba View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Remove TODO about informational responses (#3319)

    Today it's not possible with HTTP/1.1 (see psf/requests#713) and even
    python-hyper does not handle this case. This will be handled in
    #3336.
    pquentin authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    23f2287 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Configuration menu
    Copy the full SHA
    aa8d3dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9929d3c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    12f9233 View commit details
    Browse the repository at this point in the history
  2. Ensure no remote connections during testing (#3328)

    As a way to prevent the test suite from making remote calls to anywhere
    unexpected, use the `pytest-socket` plugin to disable any calls to
    hosts other than localhost.
    
    Signed-off-by: Mike Fiedler <miketheman@gmail.com>
    miketheman authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    25155d7 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    cfe52f9 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Distinguish between truncated and excess content in response (#3273)

    `HTTPResponse._raw_read` raises `IncompleteRead` if the content length does
    not match the expected content length. For malformed responses (e.g. 204
    response with content) the re-raised `ProtocolError` was a bit too unclear
    about the unexpected excess content being the reason for the exception.
    
    With this change, the exception points out, that the client is not dealing
    with a connection error but a protocol violation.
    crazyscientist authored Feb 12, 2024
    Configuration menu
    Copy the full SHA
    fa54179 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Configuration menu
    Copy the full SHA
    e22f651 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Stop casting request headers to HTTPHeaderDict (#3344)

    While this was done to fix a mypy error, we did not notice the
    consequences:
    
     * This breaks boto3 that subclasses HTTPConnection because
       HTTPHeaderDict does not support bytes values yet.
     * When proxying, headers are still a dictionary by default.
    
    We can decide to reintroduce a forced conversion to HTTPHeaderDict in
    urllib3 3.0 if the above issues are fixed.
    pquentin authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    49b2dda View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Release 2.2.1

    pquentin authored Feb 18, 2024
    Configuration menu
    Copy the full SHA
    54d6edf View commit details
    Browse the repository at this point in the history
Loading