#25099: Cleanup HttpRequest representations
--------------------------------------+--------------------
     Reporter:  vzima                 |      Owner:  nobody
         Type:  Cleanup/optimization  |     Status:  new
    Component:  Core (Other)          |    Version:  1.8
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 Since simplification of `HttpRequest.__repr__` in #12098. The method
 `build_request_repr` is not used anywhere in the `django.http` where is
 defined and is only used for representation of request in error emails.
 But even that usage is excesive. In HTML version, the request details are
 printed under the traceback and so it is useless to repeat the full
 request details in local variables of every frame. The text version of the
 email is generated separately, despite the fact that `ExceptionReporter`
 provides `get_traceback_text` method which returns text content descibing
 the error.

 Ticket created on recommendation by timgraham from discussion in
 https://github.com/django/django/pull/4947 for related ticket #22990.

--
Ticket URL: <https://code.djangoproject.com/ticket/25099>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/048.3592494f7e7e01bfd2b6d687fef23da8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to