- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 16 Oct 2017 12:51:53 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/617/review/69548710@github.com>
annevk commented on this pull request. > + <var>init</var>])</code> + <dd>Returns a new <var>request</var> whose <a attribute for=Request>url</a> attribute value is + <var>input</var> if <var>input</var> is a string, and <var>input</var>'s + <a attribute for=Request>url</a> if <var>input</var> is a {{Request}} object. The optional + <var>init</var> argument allows for setting attributes appearing in {{RequestInit}} via object + members of the same name. + + <dt><code><var>request</var> . <a attribute for=Request>method</a></code> + <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>. + It should be noted that headers added in the network layer by the user agent will not be accounted s/It should be noted that// (you cannot use terms like "should", "must", or "may" in non-normative text) > + <dd>Returns a new <var>request</var> whose <a attribute for=Request>url</a> attribute value is + <var>input</var> if <var>input</var> is a string, and <var>input</var>'s + <a attribute for=Request>url</a> if <var>input</var> is a {{Request}} object. The optional + <var>init</var> argument allows for setting attributes appearing in {{RequestInit}} via object + members of the same name. + + <dt><code><var>request</var> . <a attribute for=Request>method</a></code> + <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>. + It should be noted that headers added in the network layer by the user agent will not be accounted + for in this object, e.g. the "<code>Host</code>" header. comma after e.g. too. -- 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#pullrequestreview-69548710
Received on Monday, 16 October 2017 12:52:17 UTC