home / django_tickets / tickets

tickets: 16178

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
16178 2011-06-09 04:03:13 2011-06-09 23:15:44 2022-03-06 04:02:29.461590 Ready for checkin closed HTTP handling Cleanup/optimization Normal 1.3 fixed Cleanup request classes' __repr__() As discussed in https://code.djangoproject.com/ticket/14614#comment:16, there are a few small inconsistencies and some duplicated code in `HttpRequest`'s, `ModPythonRequest`'s, and `WSGIRequest`'s `__repr__()` methods, and since [16339] also in `ExceptionReporterFilter.get_request_repr ()`. The attached patch consolidates all that code into a single function. Note that I had to initialise the `_post_parse_error` attribute in the `HttpRequest` constructor, which should make sense since that attribute is used in some of `HttpRequest`'s methods anyway. nobody julien   0 1 0 0 0 0
Powered by Datasette · Queries took 0.874ms