MCPcopy 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
399function isGetOrHead(req) {
400 return req.method === "GET" || req.method === "HEAD";
401}
402
403function needsRuntimeInjection(injectionOpts) {
404 return Boolean(

Callers 2

redirectToMountedPathFunction · 0.85
handleStaticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected