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

Fix request Content-Type header checking in servers #3690

Merged

Commits on Jun 11, 2024

  1. Fix request Content-Type header checking in servers

    This fixes two bugs:
    
    1. `Content-Type` header checking was succeeding when no `Content-Type`
       header was present but one was expected.
    2. When a shape was @httpPayload`-bound, `Content-Type` header checking
       occurred even when no payload was being sent. In this case it is not
       necessary to check the header, since there is no content.
    
    Code has been refactored and cleaned up. The crux of the logic is now
    easier to understand, and contained in `content_type_header_classifier`.
    david-perez committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a6f39fb View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Fix things

    david-perez committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    e912cf5 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Address comments

    david-perez committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    9f05a93 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main' into davidpz/fix-request…

    …-content-type-checking-in-servers
    david-perez committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    95a58b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d108fb View commit details
    Browse the repository at this point in the history