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

Function isIdentity

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

Checks whether the encoding is explicitly "identity".

(te []string)

Source from the content-addressed store, hash-verified

552
553// Checks whether the encoding is explicitly "identity".
554func isIdentity(te []string) bool { return len(te) == 1 && te[0] == "identity" }
555
556// unsupportedTEError reports unsupported transfer-encodings.
557type unsupportedTEError struct {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…