The current http.request_content_length and http.response_content_length are specified to be the length of the body excluding headers. I'd like to add an attribute for the total message size.
For names, I think http.request_length and http.response_length make the most sense.
Rationale:
The current
http.request_content_lengthandhttp.response_content_lengthare specified to be the length of the body excluding headers. I'd like to add an attribute for the total message size.For names, I think
http.request_lengthandhttp.response_lengthmake the most sense.Rationale:
http.server.request.sizeandhttp.server.response.sizeare in fact measure of total bytes sent