1 | export const supportsAbortController = typeof globalThis.AbortController === 'function';
|
2 | export const supportsStreams = typeof globalThis.ReadableStream === 'function';
|
3 | export const supportsFormData = typeof globalThis.FormData === 'function';
|
4 | export const requestMethods = ['get', 'post', 'put', 'patch', 'head', 'delete'];
|
5 | const validate = () => undefined;
|
6 | validate();
|
7 | export const responseTypes = {
|
8 | json: 'application/json',
|
9 | text: 'text/*',
|
10 | formData: 'multipart/form-data',
|
11 | arrayBuffer: '*/*',
|
12 | blob: '*/*',
|
13 | };
|
14 |
|
15 | export const maxSafeTimeout = 2147483647;
|
16 | export const stop = Symbol('stop');
|
17 |
|
\ | No newline at end of file |