Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/chartbrew/chartbrew
/ normalizeMethod
Function
normalizeMethod
server/modules/safeRequest.js:10–12 ·
view source on GitHub ↗
(method)
Source
from the content-addressed store, hash-verified
8
const
DEFAULT_MAX_REDIRECTS = 10;
9
10
function
normalizeMethod(method) {
11
return
String(method ||
"GET"
).toUpperCase();
12
}
13
14
function
shouldFollowRedirect({
15
statusCode,
Callers
2
shouldFollowRedirect
Function · 0.85
shouldRewriteMethodForRedirect
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected