MCPcopy Create free account
hub / github.com/GoCollaborate/src / AdaptHTTPWithStatus

Function AdaptHTTPWithStatus

utils/adapter.go:28–32  ·  view source on GitHub ↗

make sure AdaptHTTPWithStatus is lastly added to the response writer, otherwise it would not work (ref: https://golang.org/pkg/net/http/#ResponseWriter)

(w http.ResponseWriter,
	header int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AdaptLimiterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected