MCPcopy 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

8const DEFAULT_MAX_REDIRECTS = 10;
9
10function normalizeMethod(method) {
11 return String(method || "GET").toUpperCase();
12}
13
14function shouldFollowRedirect({
15 statusCode,

Callers 2

shouldFollowRedirectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected