We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c74798 commit 385bb30Copy full SHA for 385bb30
src/https/request.d.ts
@@ -34,7 +34,7 @@ export type CachePolicy = 'noCache' | 'onlyCache' | 'ignoreCache';
34
export interface HttpsRequestOptions extends HttpRequestOptions {
35
url: string;
36
tag?: string; // optional request tag to allow to cancel it
37
- method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD';
+ method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
38
headers?: Headers;
39
params?: HttpsRequestObject;
40
body?: HttpsRequestObject | HttpsFormDataParam[] | File;
0 commit comments