mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
ProtocolServer: Support request headers
You can now pass a dictionary of request headers when starting a new download in ProtocolServer. The HTTP and HTTPS protocol will include the headers in their requests.
This commit is contained in:
@@ -65,6 +65,8 @@ public:
|
||||
|
||||
RefPtr<Core::NetworkJob> schedule();
|
||||
|
||||
void set_headers(const HashMap<String, String>&);
|
||||
|
||||
static Optional<HttpRequest> from_raw_request(const ByteBuffer&);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user