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

Distinguish between truncated and excess content in response #3273

Merged
merged 8 commits into from
Feb 12, 2024

Commits on Feb 5, 2024

  1. Distinguish between truncated and excess content in response

    `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.
    
    Closes urllib3#3261
    crazyscientist committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    da7e153 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95cffbc View commit details
    Browse the repository at this point in the history
  3. Update the news entry

    illia-v authored and crazyscientist committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    b2c25a9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    12ce2a7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b16536a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d78d318 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

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

Commits on Feb 8, 2024

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