MCPcopy Create free account
hub / github.com/BryanMwangi/pine / SetHeader

Method SetHeader

pine.go:752–754  ·  view source on GitHub ↗
(key, val string)

Source from the content-addressed store, hash-verified

750}
751
752func (rw *responseWriterWrapper) SetHeader(key, val string) {
753 rw.ResponseWriter.Header().Set(key, val)
754}
755
756func (rw *responseWriterWrapper) Write(data []byte) (int, error) {
757 rw.body = append(rw.body, data...)

Callers 1

SetMethod · 0.80

Calls 2

HeaderMethod · 0.80
SetMethod · 0.45

Tested by

no test coverage detected