UNPKG

@scalar/api-client

Version:

the open source API testing client

14 lines 542 B
/** * Normalize headers: * * - Electron modifies the headers to allow CORS, this function hides the modifications * - Restores original headers * - Normalizes the header keys * - Sorts headers alphabetically * - converts to an object * */ export declare const normalizeHeaders: (_headers: Headers, removeProxyHeaders?: boolean) => Record<string, string>; /** Make the first letter and all letters after a dash uppercase */ export declare const formatHeaderKey: (key: string) => string; //# sourceMappingURL=normalize-headers.d.ts.map