#32002: Allow headers to be passed into HttpResponse() -------------------------------+--------------------------------------- Reporter: Tom Carrick | Owner: Tom Carrick Type: New feature | Status: assigned Component: HTTP handling | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+--------------------------------------- Changes (by Carlton Gibson):
* stage: Unreviewed => Accepted Comment: Yes, as per discussion, certainly for the main feature. > I think it also makes sense to add this to django.shortcuts.render. I'm initially sceptical about this. I think we should be cautious about adding extra parameters to shortcuts. My inclination would be towards saying, "Either adjust the response once you have it, or don't use `render`" if folks need more than it currently offers. (Note: "...initially sceptical...".) -- Ticket URL: <https://code.djangoproject.com/ticket/32002#comment:3> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.ac571c9ed59be5ebb1cabbbdcd9e5bf6%40djangoproject.com.