View definition

(*ResponseHeader).SetContentLength

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

Description

SetContentLength sets Content-Length header value.

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

SetContentLength is referenced in 1 repository

github.com/valyala/fasthttp