MCPcopy Create free account
hub / github.com/NobyDa/Script / formatHeaders

Function formatHeaders

TestFlight/TestFlightAccount.js:111–113  ·  view source on GitHub ↗
(h)

Source from the content-addressed store, hash-verified

109}
110
111function formatHeaders(h) {
112 return Object.keys(h).reduce((t, i) => (t[i.toLowerCase()] = h[i], t), {})
113}
114
115function formatArgument(s) {
116 return Object.fromEntries(s.split('&').map(item => item.split('=')))

Callers 2

runsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected