Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#10588 closed (duplicate)

pass status parameter through render_to_response

Reported by: Mike Lundy Owned by: ccahoon
Component: HTTP handling Version: dev
Severity: Keywords:
Cc: Triage Stage: Someday/Maybe
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This makes it so render_to_response can be used to render custom error pages (by setting status=404, etc).

Attachments (1)

0001-pass-render_to_response-status-param-through-to-Http.patch (3.5 KB ) - added by Mike Lundy 15 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by thatch, 15 years ago

Component: UncategorizedHTTP handling
milestone: 1.2
Triage Stage: UnreviewedDesign decision needed

comment:2 by ccahoon, 15 years ago

Owner: changed from nobody to ccahoon

comment:3 by ccahoon, 15 years ago

This duplicates behavior in several other tickets, including #9081 which covers this case and many others. I reassigned to myself because this patch has some good additional tests that could be incorporated into the broader solution.

comment:4 by ccahoon, 15 years ago

Triage Stage: Design decision neededSomeday/Maybe

comment:5 by ccahoon, 15 years ago

Resolution: duplicate
Status: newclosed

Actually, I am going to say this is a duplicate of #9081, because they cover the same issue: if and how we should expand render_to_response to allow customization of the HttpResponse.

comment:6 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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