View definition

(*ResponseHeader).ContentLength

Defined in github.com/valyala/fasthttp/header.go

Description

ContentLength returns Content-Length header value.

It may be negative: -1 means Transfer-Encoding: chunked. -2 means Transfer-Encoding: identity.

ContentLength is referenced in 3 repositories

github.com/valyala/fasthttp github.com/labstack/echo github.com/gavv/httpexpect