httpResponseContentLength constant

String const httpResponseContentLength

The size of the response payload body in bytes.

This is the number of bytes transferred excluding headers and is often, but not always, present as the Content-Length header. For requests using transport encoding, this should be the compressed size.

Implementation

static const String httpResponseContentLength =
    'http.response_content_length';