Opened 8 years ago

Closed 8 years ago

#26014 closed New feature (fixed)

Parse the CONTENT_TYPE header once, and record it on the request

Reported by: Curtis Maloney Owned by: nobody
Component: Core (Other) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

We already parse the content type header, but don't keep the results to share with others.

PR https://github.com/django/django/pull/5113

Change History (4)

comment:1 by Tim Graham, 8 years ago

Has patch: set
Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 8 years ago

Needs tests: unset

comment:3 by Tim Graham, 8 years ago

Triage Stage: AcceptedReady for checkin

comment:4 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: newclosed

In 6f13187:

Fixed #26014 -- Added WSGIRequest content_type and content_params attributes.

Parsed the CONTENT_TYPE header once and recorded it on the request.

Note: See TracTickets for help on using tickets.
Back to Top