#20328: Add support to use a custom reason-phrase in response's status line -------------------------------------+------------------------------------- Reporter: ikame | Owner: nobody Type: | Status: new Cleanup/optimization | Version: 1.5 Component: HTTP handling | Keywords: http response status Severity: Normal | line reason phrase Triage Stage: Unreviewed | Has patch: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- HTTP protocol uses the reason-phrase in the response's status line as a message meant solely for human consumption so is perfectly valid to change that phrase for whatever the api designer wants. {{{HttpResponse}}} class should allow users to change the reason-phrase through a status_text attribute for example.
Link to patch: [https://github.com/django/django/pull/1032 Patch] -- Ticket URL: <https://code.djangoproject.com/ticket/20328> 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 post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.