MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / sanitizeHeaderNames

Function sanitizeHeaderNames

server/modules/updateAudit.js:133–139  ·  view source on GitHub ↗
(headers)

Source from the content-addressed store, hash-verified

131}
132
133function sanitizeHeaderNames(headers) {
134 if (!headers || typeof headers !== "object") {
135 return [];
136 }
137
138 return Object.keys(headers).map((key) => key.toLowerCase());
139}
140
141function sanitizeRouteSnippet(route) {
142 if (!route) {

Callers 1

runRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected