### Godot version

v4.1.stable.official [970459615]
EDIT: Also v4.1.1.stable.official [bd6af8e0e]

### System information

Godot v4.1.stable - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1060 6GB (NVIDIA; 31.0.15.3640) - Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz (4 Threads)

### Issue description

Using HTTPRequest `request()` on a Web export with `accept_gzip = false` on an API that can use compression results in a RESULT_CANT_CONNECT error `[2, 0, [], []]`. This does not happen on any other export nor can I find a reason for it to fail as the API in question can also return uncompressed data if the `Accept-Encoding` header is not used.

### Steps to reproduce

```
var http:HTTPRequest = HTTPRequest.new()
add_child(http)
http.accept_gzip = false
http.request("https://dev.playkantti.fi/ok.php")
var result = await http.request_completed
print(result)
```
The result of this code will be normal on every export except on Web where it will be `[2, 0, [], []]`. You can also use the project and web export below to try it out. It's a bit more visual than the code above.

### Minimal reproduction project

Web export: https://dev.playkantti.fi/
Project: [NetworkTest.zip](https://github.com/godotengine/godot/files/12013294/NetworkTest.zip)
ERR_FAIL_V_MSG(Ref<RefCounted>(), "Accessing an HTTPClientWeb's StreamPeer is not supported for the Web platform.");
}
Error HTTPClientWeb::request(Method p_method, const String &p_url, const Vector<String> &p_headers, const uint8_t *p_body, int p_body_len) {
	ERR_FAIL_INDEX_V(p_method, METHOD_MAX, ERR_INVALID_PARAMETER);
	ERR_FAIL_COND_V_MSG(p_method == METHOD_TRACE || p_method == METHOD_CONNECT, ERR_UNAVAILABLE, "HTTP methods TRACE and CONNECT are not supported for the Web platform.");
	ERR_FAIL_COND_V(status != STATUS_CONNECTED, ERR_INVALID_PARAMETER);
	ERR_FAIL_COND_V(host.is_empty(), ERR_UNCONFIGURED);
	ERR_FAIL_COND_V(port < 0, ERR_UNCONFIGURED);
	ERR_FAIL_COND_V(!p_url.begins_with("/"), ERR_INVALID_PARAMETER);
	Error err = verify_headers(p_headers);
	if (err) {
		return err;
	}
	String url = (use_tls ? "https://" : "http://") + host + ":" + itos(port) + p_url;
	Vector<CharString> keeper;
	Vector<const char *> c_strings;
	for (int i = 0; i < p_headers.size(); i++) {
		keeper.push_back(p_headers[i].utf8());
		c_strings.push_back(keeper[i].get_data());
	}
	if (js_id) {
		godot_js_fetch_free(js_id);
	}
	js_id = godot_js_fetch_create(_methods[p_method], url.utf8().get_data(), c_strings.ptrw(), c_strings.size(), p_body, p_body_len);
	status = STATUS_REQUESTING;
	return OK;
}
void HTTPClientWeb::close() {