mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
setExtraHTTPHeaders
This commit is contained in:
@@ -736,10 +736,11 @@ pub const Request = struct {
|
||||
}
|
||||
self._notified_start = true;
|
||||
notification.dispatch(.http_request_start, &.{
|
||||
.arena = self.arena,
|
||||
.id = self.id,
|
||||
.url = self.request_uri,
|
||||
.method = self.method,
|
||||
.headers = self.headers.items,
|
||||
.headers = &self.headers,
|
||||
.has_body = self.body != null,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user