httpRequestContentLength constant

String const httpRequestContentLength

The size of the request 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 httpRequestContentLength = 'http.request_content_length';