Opened 14 months ago

#9676 enhancement new

Document / make public the t.w.Request.code, clientproto and sentLength attributes, or expose that info in some other way

Reported by: Wim Lewis Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:
Author:

Description

Motivation: Right now, these attributes are undocumented, but they are useful, and I can't think of a reason not to expose them.

In particular you need to be able to refer to them if you want to supply your own IAccessLogFormatter for a Site.

(It might make sense to provide code and sentLength to the log formatter in some other way, not as attributes on Request, since they're really properties of the response. But clientproto is definitely a property of the request.)

Change History (0)

Note: See TracTickets for help on using tickets.