MCPcopy
hub / github.com/axios/axios / getHeaders

Method getHeaders

tests/unit/adapters/http.test.js:4449–4457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4447 }
4448 append() {}
4449 getHeaders() {
4450 return {
4451 'content-type': 'multipart/form-data; boundary=----fake',
4452 'x-injected': 'custom',
4453 'x-forwarded-for': '10.0.0.1',
4454 authorization: 'Bearer CUSTOM_TOKEN',
4455 host: 'custom.example.com',
4456 };
4457 }
4458 get [Symbol.toStringTag]() {
4459 return 'FormData';
4460 }

Callers 2

resolveConfigFunction · 0.80
http.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected