playwright/packages/trace-viewer
Kuba Janik a6b320e362
fix(ui-mode): format request body when headers are lower case (#32395)
Resolves https://github.com/microsoft/playwright/issues/32396

Currently, the request body is not formatted when content type header is
lower case (`content-type`). Even though the value is
`application/json`.

It happens because we are looking only for `Content-Type` header
ignoring headers that are lower case.

<img width="674" alt="363197933-5178ec23-b9cf-46b5-8284-e8d4d730b036"
src="https://github.com/user-attachments/assets/0ef01b52-7dd8-4f33-b836-9adb86f94cc9">
2024-08-30 16:21:51 +02:00
..
public chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
src fix(ui-mode): format request body when headers are lower case (#32395) 2024-08-30 16:21:51 +02:00
.gitignore fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
bundle.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
embedded.html feature(trace-viewer): embedded mode support PoC (#30885) 2024-06-28 10:36:11 -07:00
index.html chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
package.json chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
snapshot.html fix(trace-viewer): fix snapshot.html (#31033) 2024-05-28 13:14:22 -07:00
tsconfig.json chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
tsconfig.node.json chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
uiMode.html chore: use SVG icons for web apps (#26564) 2023-08-21 18:33:02 +02:00
vite.config.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00
vite.sw.config.ts chore: address deprecated Vite warnings (#31618) 2024-07-10 22:32:08 +02:00