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

Method WriteHeader

go/bundle/cmd/gen-bundle/fromdir.go:84–86  ·  view source on GitHub ↗
(statusCode int)

Source from the content-addressed store, hash-verified

82}
83
84func (w *responseWriter) WriteHeader(statusCode int) {
85 w.status = statusCode
86}
87
88// createExchange creates a bundle.Exchange whose request URL is url
89// and response body is the contents of the file. Internally, it uses

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected