MCPcopy
hub / github.com/caddyserver/caddy / Write

Method Write

modules/caddyhttp/headers/headers.go:403–408  ·  view source on GitHub ↗
(d []byte)

Source from the content-addressed store, hash-verified

401}
402
403func (rww *responseWriterWrapper) Write(d []byte) (int, error) {
404 if !rww.wroteHeader {
405 rww.WriteHeader(http.StatusOK)
406 }
407 return rww.ResponseWriterWrapper.Write(d)
408}
409
410// Interface guards
411var (

Callers

nothing calls this directly

Calls 1

WriteHeaderMethod · 0.95

Tested by

no test coverage detected