From ffbaefb5c4f68b9d619e9db6491fd665a30a2ffb Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 28 May 2018 14:03:01 +0200 Subject: [PATCH] Editorial: replace UTF-8 encode with isomorphic encode This more clearly indicates the input is (supposed to be) ASCII safe. --- fetch.bs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fetch.bs b/fetch.bs index f316b7e61..97bb26f13 100644 --- a/fetch.bs +++ b/fetch.bs @@ -3598,10 +3598,8 @@ Range Requests. [[HTTP-RANGE]] However, this is not widely supported by b
  • If httpRequest's referrer is a URL, then append `Referer`/httpRequest's - referrer, serialized and UTF-8 encoded, to - httpRequest's header list. - + referrer, serialized and isomorphic encoded, + to httpRequest's header list.

  • If the CORS flag is set, httpRequest's method is neither `GET` nor `HEAD`, or httpRequest's @@ -5880,7 +5878,7 @@ method, when invoked, must run these steps: status to status.

  • Set `Location` to parsedURL, - serialized and UTF-8 encoded, in r's + serialized and isomorphic encoded, in r's response's header list.

  • Return r.