-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
web: do not send 500 on invalid If-Modified-Since header #3412
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this!
Looks good, but it could use a simple test in web_test.py. |
@bdarnell done! |
Looks like the catch should be I can merge this once the tests are passing but I'm not planning another release for a while (months) so you'll probably want to make your own custom build and put it in a private package index in the meantime. |
Updated per your suggestion.
Even for a patch? I'll try to look into private package indexes... |
I can do patches for severe bugs, but this doesn't seem like it reaches that level since it concerns the handling of deliberately-invalid requests (and the failure is a spurious 500 response instead of doing work that shouldn't be done).
Some folks like to use tools like |
Fixing #3408