ARTEX/web/src
BaaRai 6067ea1489 feat(web): replay a recorded request from the traffic detail
Adds a Replay tab to the traffic detail sheet, backed by
POST /api/traffic/replay (#258). The form starts from the selected
exchange: method and URL from the exchange, headers and body from the
recorded request. Host is taken from the URL and not editable; headers
the server drops (hop-by-hop, Content-Length, Proxy-Authorization, and
those named in Connection) are left out and listed. A binary body
(NUL byte) disables Send. The response shows status, duration,
truncation, a passthrough warning when it was not recorded, the sorted
headers and the raw text; a recorded replay refreshes the list.

http() now throws ApiError, an Error with the HTTP status, so the tab
can tell 413, 502, 503 and 504 apart. parseRawRequest and
splitReplayHeaders live in lib/replay.ts with node tests run in CI
(test:replay). Stream exchanges show the tab disabled.
2026-11-16 17:56:19 +01:00
..
app feat(web): replay a recorded request from the traffic detail 2026-11-16 17:56:19 +01:00
components feat(web): replay a recorded request from the traffic detail 2026-11-16 17:56:19 +01:00
config Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
hooks perf(web): pause snapshot polling in hidden tabs 2026-11-15 23:08:24 +01:00
lib feat(web): replay a recorded request from the traffic detail 2026-11-16 17:56:19 +01:00
navigation/sidebar Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
scripts chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
stores/preferences chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
styles chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
proxy.disabled.ts chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
proxy.ts Translate all Chinese text to English 2026-10-08 23:14:34 +02:00