- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 16 Oct 2017 05:49:55 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 16 October 2017 12:50:19 UTC
annevk commented on this pull request.
> + <dd>Returns <var>request</var>'s HTTP method, which is "<code>GET</code>" by default.
+
+ <dt><code><var>request</var> . <a attribute for=Request>url</a></code>
+ <dd>Returns the URL of <var>request</var> as a string.
+
+ <dt><code><var>request</var> . <a attribute for=Request>headers</a></code>
+ <dd>Returns a {{Headers}} object consisting of the headers associated with <var>request</var>.
+
+ <dt><code><var>request</var> . <a attribute for=Request>destination</a></code>
+ <dd>Returns the kind of resource requested by <var>request</var>, e.g. "<code>document</code>",
+ or "<code>script</code>".
+
+ <dt><code><var>request</var> . <a attribute for=Request>referrer</a></code>
+ <dd>Returns the referrer of <var>request</var>. Its value can be a same origin URL if explicitly
+ set in <var>init</var>, the empty string to indicate no referrer, and "<code>about:client</code>"
+ when defaulting to the document's <a for=Document>URL</a>. This is used during fetching to
Yeah. A worker has a `WorkerGlobalScope` object as global object.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/617#discussion_r144836714
Received on Monday, 16 October 2017 12:50:19 UTC