Skip to content

Commit

Permalink
fix(protocol): Include cookies and query fields on reports (#2777)
Browse files Browse the repository at this point in the history
While digging into some logs, I noticed that these fields were missing on requests submitted via `Report`. This fixes it by adding them in the protocol package.
  • Loading branch information
blaine-arcjet authored Jan 13, 2025
1 parent 6ff92d9 commit cff2e3a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protocol/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ export function createClient(options: ClientOptions): Client {
host: details.host,
path: details.path,
headers: Object.fromEntries(details.headers.entries()),
cookies: details.cookies,
query: details.query,
// TODO(#208): Re-add body
// body: details.body,
extra: details.extra,
Expand Down

0 comments on commit cff2e3a

Please sign in to comment.