Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gorilla/mux
/ WriteHeader
Method
WriteHeader
mux_test.go:1958–1960 ·
view source on GitHub ↗
(code int)
Source
from the content-addressed store, hash-verified
1956
}
1957
1958
func
(ho *TestA301ResponseWriter) WriteHeader(code int) {
1959
ho.status = code
1960
}
1961
1962
func
Test301Redirect(t *testing.T) {
1963
m := make(http.Header)
Callers
4
TestMethodNotAllowed
Function · 0.45
ServeHTTP
Method · 0.45
TestSubrouterCustomMethodNotAllowed
Function · 0.45
TestSubrouterNotFound
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected