mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 21:35:06 +00:00
LibCore+LibHTTP: Move out the HTTP handler and add HTTPS
This commit is contained in:
parent
8d20a526e5
commit
7670e5ccf0
27 changed files with 613 additions and 70 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue