MCPcopy Create free account
hub / github.com/caddyserver/caddy / AcceptEncoding

Method AcceptEncoding

modules/caddyhttp/encode/zstd/zstd.go:115–115  ·  view source on GitHub ↗

AcceptEncoding returns the name of the encoding as used in the Accept-Encoding request headers.

()

Source from the content-addressed store, hash-verified

113// AcceptEncoding returns the name of the encoding as
114// used in the Accept-Encoding request headers.
115func (Zstd) AcceptEncoding() string { return "zstd" }
116
117// NewEncoder returns a new Zstandard writer.
118func (z Zstd) NewEncoder() encode.Encoder {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected