()
| 4322 | function responseLocationURL(response, requestFragment) { |
| 4323 | if (!redirectStatusSet.has(response.status)) { |
| 4324 | return null; |
| 4325 | } |
| 4326 | let location = response.headersList.get("location", true); |
| 4327 | if (location !== null && isValidHeaderValue(location)) { |
| 4328 | if (!isValidEncodedURL(location)) { |
| 4329 | location = normalizeBinaryStringToUtf8(location); |