getContentLength method

dynamic getContentLength()
  • Return the MediaType media type of the body, as specified
    • by the Content-Type header.
    • Returns null when the content-type is unknown.

Implementation

dynamic getContentLength() {
	return getFirst(HttpHeaders.CONTENT_LENGTH);
}