#27575: potential commonmiddleware optimization
-------------------------------------+-------------------------------------
Reporter: JorisBenschop | Owner: Ketan
Type: | Bhatt
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham):
I don't think there's value in renaming the function at this point. In
fact, it might be better to move that validation elsewhere so it always
runs during a request, regardless of if `get_host()` is called. There was
some discussion about this at the time host header validation was added
but I don't have time to look into this more right now.
--
Ticket URL: <https://code.djangoproject.com/ticket/27575#comment:11>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.01ddcae5e89579f0d9ba55a814ae409f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.