diff options
author | Spartan322 <Megacake1234@gmail.com> | 2024-11-19 11:38:29 -0500 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-11-19 11:39:37 -0500 |
commit | cfc378b251e4330c6b6be949d4c054f9bae48159 (patch) | |
tree | 148a5511d3c1d723b2f2f364c832c2ba6f267fcc /scene/main | |
parent | 9767837a7ec40697788765e581131cb2cf172567 (diff) | |
parent | fd4c29a189e53a1e085df5b9b9a05cac9351b3ef (diff) | |
download | redot-engine-cfc378b251e4330c6b6be949d4c054f9bae48159.tar.gz |
Merge commit godotengine/godot@fd4c29a189e53a1e085df5b9b9a05cac9351b3ef
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/http_request.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp index a641ee9863..e46728dabc 100644 --- a/scene/main/http_request.cpp +++ b/scene/main/http_request.cpp @@ -89,7 +89,7 @@ String HTTPRequest::get_header_value(const PackedStringArray &p_headers, const S String lowwer_case_header_name = p_header_name.to_lower(); for (int i = 0; i < p_headers.size(); i++) { - if (p_headers[i].find(":") > 0) { + if (p_headers[i].find_char(':') > 0) { Vector<String> parts = p_headers[i].split(":", false, 1); if (parts.size() > 1 && parts[0].strip_edges().to_lower() == lowwer_case_header_name) { value = parts[1].strip_edges(); |