- From: Yutaka Hirano <notifications@github.com>
- Date: Tue, 14 Apr 2015 02:43:52 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Tuesday, 14 April 2015 09:44:19 UTC
Oh, I didn't notice extracting _init_'s body doesn't work when it's null (and _temporaryBody_ is non-null). How about the following? (27) If _init_'s body member is present: 1. Let stream and Content-Type be the result of extracting init's body member. 1. Set temporaryBody to stream. 1. If Content-Type is non-null and r's request's header list contains no header named `Content-Type`, append `Content-Type`/Content-Type to r's Headers object. Rethrow any exception. (28) If _temporaryBody_ is non-null and request's method is `GET` or `HEAD`, throw a TypeError. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/44#issuecomment-92723175
Received on Tuesday, 14 April 2015 09:44:19 UTC