MCPcopy Create free account
hub / github.com/WICG/webpackage / ContentEncoding

Method ContentEncoding

go/signedexchange/mice/mice.go:30–32  ·  view source on GitHub ↗

ContentEncoding returns content encoding name of the Encoding.

()

Source from the content-addressed store, hash-verified

28
29// ContentEncoding returns content encoding name of the Encoding.
30func (enc Encoding) ContentEncoding() string {
31 return string(enc)
32}
33
34// DigestHeaderName returns the name of HTTP header that carries integrity proofs.
35func (enc Encoding) DigestHeaderName() string {

Callers 4

FormatDigestHeaderMethod · 0.95
parseDigestHeaderMethod · 0.95
AddPayloadIntegrityMethod · 0.80
MiEncodePayloadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected