Skip to content

fix(server): Respect Expect header only when http proto > 1.0#3294

Merged
seanmonstar merged 1 commit into
hyperium:masterfrom
owarai:master
Aug 23, 2023
Merged

fix(server): Respect Expect header only when http proto > 1.0#3294
seanmonstar merged 1 commit into
hyperium:masterfrom
owarai:master

Conversation

@owarai

@owarai owarai commented Aug 22, 2023

Copy link
Copy Markdown
Contributor
  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

@seanmonstar seanmonstar left a comment

Copy link
Copy Markdown
Member

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
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.

2 participants