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(server): Respect Expect header only when http proto > 1.0 #3294

Merged
merged 1 commit into from Aug 23, 2023

Conversation

owarai
Copy link
Contributor

@owarai owarai commented Aug 22, 2023

  1. fix server Expect handling(from the perspective of server correctness)
    Refer to: https://www.rfc-editor.org/rfc/rfc9110.html#name-expect

    A server that receives a 100-continue expectation in an HTTP/1.0 request MUST ignore that expectation

  2. adds HTTP/1.0 Expect 100-continue test

Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@seanmonstar seanmonstar merged commit 43d2f5c into hyperium:master Aug 23, 2023
17 checks passed
0xE282B0 pushed a commit to 0xE282B0/hyper that referenced this pull request Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants