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 checking match and modified headers #945

Closed

Conversation

Vlix
Copy link
Contributor

@Vlix Vlix commented Oct 5, 2023

Before submitting your PR, check that you've:

  • Bumped the version number

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

Not completely sure this needs a version bump?
Can be added to the next version when it comes around. (tagging along with #943 ?)

This addresses #842 and implements the condition checking in the way the RFC 9110 prescribes.

Also noticed a few other spots that were "lacking", so also added some FIXME and TODOs.

Vlix added 5 commits October 5, 2023 20:41
…' headers have one value, but there can be more
… to pass it to lots more functions, and immediately also moved the checking of 'isHead' to where it was actually needed
…' and 'If-(Un)Modified-Since' headers interact as expected.
@Vlix Vlix requested a review from kazu-yamamoto October 6, 2023 09:22
Copy link
Contributor

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

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

Excellent work!

kazu-yamamoto added a commit to kazu-yamamoto/wai that referenced this pull request Oct 13, 2023
@kazu-yamamoto
Copy link
Contributor

Rebased and merged. Thanks!

@Vlix
Copy link
Contributor Author

Vlix commented Oct 13, 2023

Shall I add this change to the Changelog as well? Or is it fine as is?

Vlix added a commit to Vlix/wai that referenced this pull request Oct 13, 2023
@Vlix Vlix deleted the fix-checking-match-and-modified-headers branch October 13, 2023 08:25
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