diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/fetch/23_request.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/fetch/23_request.js b/extensions/fetch/23_request.js index d8369b404..de1bdd211 100644 --- a/extensions/fetch/23_request.js +++ b/extensions/fetch/23_request.js @@ -273,7 +273,7 @@ ((init.body !== undefined && init.body !== null) || inputBody !== null) ) { - throw new TypeError("HEAD and GET requests may not have a body."); + throw new TypeError("Request with GET/HEAD method cannot have body."); } // 34. |