UNPKG

528 BTypeScriptView Raw
1export type RequestHeaders = {
2 /**
3 * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead.
4 */
5 accept?: string;
6 /**
7 * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678`
8 */
9 authorization?: string;
10 /**
11 * `user-agent` is set do a default and can be overwritten as needed.
12 */
13 "user-agent"?: string;
14 [header: string]: string | number | undefined;
15};