mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
AK+LibWeb: Remove URL::to_string_encoded()
This replaces URL::to_string_encoded() with to_string() and removes the former, since they are now equivalent.
This commit is contained in:
parent
a9114be1b8
commit
33396494f6
3 changed files with 3 additions and 4 deletions
|
@ -156,7 +156,7 @@ void ResourceLoader::load(const LoadRequest& request, Function<void(ReadonlyByte
|
|||
headers.set(it.key, it.value);
|
||||
}
|
||||
|
||||
auto protocol_request = protocol_client().start_request(request.method(), url.to_string_encoded(), headers, request.body());
|
||||
auto protocol_request = protocol_client().start_request(request.method(), url.to_string(), headers, request.body());
|
||||
if (!protocol_request) {
|
||||
if (error_callback)
|
||||
error_callback("Failed to initiate load", {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue