mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-21 15:14:13 +00:00
LibCore+LibHTTP: Move out the HTTP handler and add HTTPS
This commit is contained in:
committed by
Andreas Kling
parent
8d20a526e5
commit
7670e5ccf0
@@ -105,7 +105,7 @@ void ResourceLoader::load(const URL& url, Function<void(const ByteBuffer&)> succ
|
||||
return;
|
||||
}
|
||||
|
||||
if (url.protocol() == "http") {
|
||||
if (url.protocol() == "http" || url.protocol() == "https") {
|
||||
auto download = protocol_client().start_download(url.to_string());
|
||||
if (!download) {
|
||||
if (error_callback)
|
||||
|
||||
Reference in New Issue
Block a user