#34742: calling a DELETE endpoint without a trailing slash does not thow
RuntimeError in DEBUG mode
-------------------------------------+-------------------------------------
Reporter: Troy Sankey | Owner: Avaneesh
| Kumar
Type: Bug | Status: assigned
Component: HTTP handling | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Avaneesh Kumar):
* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin
Comment:
I have added an assertion to `test_append_slash_no_redirect_in_DEBUG` in
`tests/middleware/tests.py` which would check for DELETE request along
with POST, PUT, and PATCH.
The pull request can be found here:
https://github.com/django/django/pull/17584
--
Ticket URL: <https://code.djangoproject.com/ticket/34742#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018c4389b8f8-64ff7b17-b87a-42df-aa92-6cc2e3add5f3-000000%40eu-central-1.amazonses.com.