1 Commits
Author SHA1 Message Date
Thejeshandthejesh23 847e54d922 fix(har): reconstruct form bodies from postData.params (#9)
HAR request bodies for application/x-www-form-urlencoded may be encoded
as postData.params (array of {name, value}) with no postData.text field
(e.g. Chrome DevTools export). _body_bytes read only text, so those
bodies were silently dropped and the generated client method lost its
request fields. Fall back to url-encoding params when text is absent,
matching the HAR spec.

Fixes #8

Co-authored-by: thejesh23 <thejesh23@users.noreply.github.com>
2026-07-25 15:12:59 +05:30