LibWeb: Implement :about protocol support for load_unbuffered()

Preparation work before enabling unbuffered fetching by default.
This commit is contained in:
Aliaksandr Kalenik 2025-11-16 18:38:53 +01:00 committed by Tim Flynn
parent 2fd7b70784
commit 1f4b53d9fc
Notes: github-actions[bot] 2025-11-20 11:31:12 +00:00
2 changed files with 60 additions and 33 deletions

View file

@ -80,6 +80,8 @@ private:
};
template<typename FileHandler, typename ErrorHandler>
void handle_file_load_request(LoadRequest& request, FileHandler on_file, ErrorHandler on_error);
template<typename Callback>
void handle_about_load_request(LoadRequest const& request, Callback callback);
RefPtr<Requests::Request> start_network_request(LoadRequest const&);
void handle_network_response_headers(LoadRequest const&, HTTP::HeaderMap const&);