#36532: Add Content Security Policy (CSP) view decorators
-------------------------------------+-------------------------------------
Reporter: Rob Hudson | Owner: Rob
| Hudson
Type: New feature | Status: closed
Component: HTTP handling | Version: dev
Severity: Normal | Resolution: fixed
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
-------------------------------------+-------------------------------------
Comment (by nessita <124304+nessita@…>):
In [changeset:"b5b53afa29c53a79ae92ed5298144db0cab0ea3b" b5b53afa]:
{{{#!CommitTicketReference repository=""
revision="b5b53afa29c53a79ae92ed5298144db0cab0ea3b"
Refs #36532 -- Optimized CSP decorator async checking.
The previous approach created both sync and async wrappers before
checking which one was needed. Checking first reduces about 1 microsecond
off each decorator application.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36532#comment:7>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019ed2370aee-b6559ef7-942d-4956-b93b-7e5b1a3cf836-000000%40eu-central-1.amazonses.com.