setExtraHTTPHeaders

This commit is contained in:
sjorsdonkers
2025-06-05 16:03:06 +02:00
parent fff0a8a522
commit f1672dd6d2
4 changed files with 72 additions and 5 deletions

View File

@@ -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,
});
}