summaryrefslogtreecommitdiff
path: root/cli/js/web/request.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/web/request.ts')
-rw-r--r--cli/js/web/request.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/cli/js/web/request.ts b/cli/js/web/request.ts
index 1416a95d6..8afc35e7a 100644
--- a/cli/js/web/request.ts
+++ b/cli/js/web/request.ts
@@ -28,11 +28,6 @@ function normalizeMethod(m: string): string {
return m;
}
-/**
- * An HTTP request
- * @param {Blob|String} [body]
- * @param {Object} [init]
- */
export class Request extends body.Body implements domTypes.Request {
public method: string;
public url: string;
@@ -83,20 +78,9 @@ export class Request extends body.Body implements domTypes.Request {
this.headers = headers;
// readonly attribute ByteString method;
- /**
- * The HTTP request method
- * @readonly
- * @default GET
- * @type {string}
- */
this.method = "GET";
// readonly attribute USVString url;
- /**
- * The request URL
- * @readonly
- * @type {string}
- */
this.url = "";
// readonly attribute RequestCredentials credentials;