Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

har generated from chrome produces: "[WARN] Post data conflict (1): Both params and text are provided but the values do not match." #62

Open
tmc opened this issue Nov 15, 2020 · 3 comments

Comments

@tmc
Copy link

tmc commented Nov 15, 2020

No description provided.

@legander
Copy link
Collaborator

legander commented Dec 1, 2020

Typically Chrome generated HAR includes both params and text fields in postData with the same set of data. The compiler will prefer params over text in those cases and log a warning message if both datafields are not equal.
The check that determines if the payloads are equal could perhaps be a little smarter.

@w1kman
Copy link
Contributor

w1kman commented Dec 11, 2020

Correction #65 does not resolve this issue.

@tom-miseur
Copy link

For me, this warning appeared until I implemented #69, at which point params and text would match as expected (params was not decoded as part of parsing, and would therefore appear twice-encoded when passed through seralizeURLSearchParams, leading to an inconsistency). There may however be other situations where the two differ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants