Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenHands/OpenHands
/ isGetOrHead
Function
isGetOrHead
scripts/static-server.mjs:399–401 ·
view source on GitHub ↗
(req)
Source
from the content-addressed store, hash-verified
397
}
398
399
function
isGetOrHead(req) {
400
return
req.method ===
"GET"
|| req.method ===
"HEAD"
;
401
}
402
403
function
needsRuntimeInjection(injectionOpts) {
404
return
Boolean(
Callers
2
redirectToMountedPath
Function · 0.85
handleStatic
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected