/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include #include #include #include #include #include #include #include namespace ProtocolServer { HttpProtocol::HttpProtocol() : Protocol("http") { } OwnPtr HttpProtocol::start_download(ClientConnection& client, const String& method, const URL& url, const HashMap& headers, ReadonlyBytes body) { return Detail::start_download(Badge {}, client, method, url, headers, body, get_pipe_for_download()); } }