You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 847e54d
Browse filesBrowse the repository at this point in the historyBrowse files
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>
0 commit comments