### 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_COND_V(p_tls_options.is_valid() && p_tls_options->is_server(), ERR_INVALID_PARAMETER);
	close();
	port = p_port;
	use_tls = p_tls_options.is_valid();
	host = p_host;
	String host_lower = host.to_lower();
	if (host_lower.begins_with("http://")) {
		host = host.substr(7, host.length() - 7);
		use_tls = false;
	} else if (host_lower.begins_with("https://")) {
		use_tls = true;
		host = host.substr(8, host.length() - 8);
	}
	ERR_FAIL_COND_V(host.length() < HOST_MIN_LEN, ERR_INVALID_PARAMETER);
	if (port < 0) {
		if (use_tls) {
			port = PORT_HTTPS;
		} else {
			port = PORT_HTTP;
		}
	}
	status = host.is_valid_ip_address() ? STATUS_CONNECTING : STATUS_RESOLVING;
	return OK;
}
void HTTPClientWeb::set_connection(const Ref<StreamPeer> &p_connection) {
	ERR_FAIL_MSG("Accessing an HTTPClientWeb's StreamPeer is not supported for the Web platform.");
}
Ref<StreamPeer> HTTPClientWeb::get_connection() const {