MCPcopy
hub / github.com/axios/axios / toString

Method toString

lib/core/AxiosHeaders.js:277–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275 }
276
277 toString() {
278 return Object.entries(this.toJSON())
279 .map(([header, value]) => header + ': ' + value)
280 .join('\n');
281 }
282
283 getSetCookie() {
284 return this.get('set-cookie') || [];

Callers 15

isFormDataFunction · 0.80
index.jsFile · 0.80
convertValueFunction · 0.80
buildURLFunction · 0.80
toURLEncodedFormFunction · 0.80
setProxyFunction · 0.80
http.jsFile · 0.80
esm-added-types.tsFile · 0.80
cjs-added-types.tsFile · 0.80
handlerFunction · 0.80
regression.test.jsFile · 0.80

Calls 2

toJSONMethod · 0.95
entriesMethod · 0.80

Tested by 7

collectFunction · 0.64
makeSocketPathFunction · 0.64
bodyAsUtf8Function · 0.64
requestFunction · 0.64
bodyAsUtf8Function · 0.64
requestFunction · 0.64
bodyAsUtf8Function · 0.64