MCPcopy
hub / github.com/axios/axios / getRequestConfig2

Function getRequestConfig2

tests/module/esm/tests/helpers/esm-index.ts:572–580  ·  view source on GitHub ↗
(options: AxiosRequestConfig)

Source from the content-addressed store, hash-verified

570}
571
572function getRequestConfig2(options: AxiosRequestConfig): AxiosRequestConfig {
573 return {
574 ...options,
575 headers: {
576 ...(options.headers as AxiosHeaders).toJSON(),
577 Authorization: `Bearer ...`,
578 },
579 };
580}
581
582// Max Rate
583

Callers

nothing calls this directly

Calls 1

toJSONMethod · 0.45

Tested by

no test coverage detected