MCPcopy Create free account
hub / github.com/curl/curl / http_size

Function http_size

lib/http.c:3810–3829  ·  view source on GitHub ↗

Content-Length must be ignored if any Transfer-Encoding is present in the response. Refer to RFC 7230 section 3.3.3 and RFC2616 section 4.4. This is figured out here after all headers have been received but before the final call to the user's header callback, so that a valid content length can be retrieved by the user in the final call. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

http_on_responseFunction · 0.85

Calls 1

Curl_pgrsSetDownloadSizeFunction · 0.85

Tested by

no test coverage detected