MCPcopy Create free account
hub / github.com/imroc/req / chunked

Function chunked

transfer.go:551–551  ·  view source on GitHub ↗

Checks whether chunked is part of the encodings stack.

(te []string)

Source from the content-addressed store, hash-verified

549
550// Checks whether chunked is part of the encodings stack.
551func chunked(te []string) bool { return len(te) > 0 && te[0] == "chunked" }
552
553// Checks whether the encoding is explicitly "identity".
554func isIdentity(te []string) bool { return len(te) == 1 && te[0] == "identity" }

Callers 4

newTransferWriterFunction · 0.85
writeHeaderMethod · 0.85
writeBodyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…