From 4bde02c79bda5945921122996a5e6bf615f90fc9 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 17 Jan 2015 03:06:07 -0800 Subject: [PATCH] Fix === --- fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch.js b/fetch.js index 86fe318..73201e3 100644 --- a/fetch.js +++ b/fetch.js @@ -204,7 +204,7 @@ this.mode = options.mode || null this.referrer = null - if ((this.method === 'GET' || this.method == 'HEAD') && options.body) { + if ((this.method === 'GET' || this.method === 'HEAD') && options.body) { throw new TypeError() } this._initBody(options.body) -- GitLab