Skip to content

Commit

Permalink
feat: include vendor-prefixed additional request data
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jul 11, 2024
1 parent d5d4c68 commit 6bdf4ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bidiMapper/modules/network/NetworkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,10 @@ export class NetworkRequest {
headersSize: computeHeadersSize(headers),
bodySize: this.#bodySize,
timings: this.#timings,
// @ts-expect-error CDP-specific attribute.
'goog:postData': this.#request.info?.request?.postData,
'goog:hasPostData': this.#request.info?.request?.hasPostData,
'goog:resourceType': this.#request.info?.type,
};
}

Expand Down

0 comments on commit 6bdf4ee

Please sign in to comment.