feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -49,11 +49,11 @@ Error HTTPClientWeb::connect_to_host(const String &p_host, int p_port, Ref<TLSOp
|
|||
|
||||
String host_lower = host.to_lower();
|
||||
if (host_lower.begins_with("http://")) {
|
||||
host = host.substr(7, host.length() - 7);
|
||||
host = host.substr(7);
|
||||
use_tls = false;
|
||||
} else if (host_lower.begins_with("https://")) {
|
||||
use_tls = true;
|
||||
host = host.substr(8, host.length() - 8);
|
||||
host = host.substr(8);
|
||||
}
|
||||
|
||||
ERR_FAIL_COND_V(host.length() < HOST_MIN_LEN, ERR_INVALID_PARAMETER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue