Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/github/github-mcp-server
/ Header
Method
Header
pkg/github/helper_test.go:595–597 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
593
}
594
595
func
(r *responseRecorder) Header() http.Header {
596
return
r.header
597
}
598
599
func
(r *responseRecorder) Write(data []byte) (int, error) {
600
if
r.statusCode == 0 {
Callers
15
TestExtractUserToken
Function · 0.80
TestExtractUserToken_MissingAuthHeader_WWWAuthenticateFormat
Function · 0.80
TestSendAuthChallenge
Function · 0.80
WithScopeChallenge
Function · 0.80
TestSetCorsHeaders
Function · 0.80
sendAuthChallenge
Function · 0.80
SetCorsHeaders
Function · 0.80
TestHandleProtectedResource
Function · 0.80
TestFetcher_FetchTokenScopes
Function · 0.80
Test_ActionsGetJobLogs_SingleJob
Function · 0.80
Test_ActionsGetJobLogs_FailedJobs
Function · 0.80
mockRESTPermissionServer
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected