-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Raise TypeError
when setting StreamResponse.last_modified
to an unsupported type
#10146
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
Conversation
…pported type Currently this would silently fail and discard the new value. fixes #10143
CodSpeed Performance ReportMerging #10146 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #10146 +/- ##
=======================================
Coverage 98.75% 98.75%
=======================================
Files 122 122
Lines 36954 36960 +6
Branches 4411 4412 +1
=======================================
+ Hits 36494 36501 +7
Misses 313 313
+ Partials 147 146 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thought about it some more, and probably ok to backport to 3.12 but not 3.11 |
|
ValueError
when setting StreamResponse.last_modified
to an unsupported typeTypeError
when setting StreamResponse.last_modified
to an unsupported type
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.
lgtm
Backport to 3.12: 💚 backport PR created✅ Backport PR branch: Backported as #10161 🤖 @patchback |
…nsupported type (#10146) <!-- Thank you for your contribution! --> ## What do these changes do? closes #10143 ## Are there changes in behavior for the user? Currently this would silently fail and discard the new value. <img width="685" alt="Screenshot 2024-12-08 at 12 32 49 PM" src="https://github.com/user-attachments/assets/b0cf00c3-cd2e-4be6-af94-d993491bd296"> (cherry picked from commit a818e51)
…treamResponse.last_modified` to an unsupported type (#10161)
What do these changes do?
closes #10143
Are there changes in behavior for the user?
Currently this would silently fail and discard the new value.