We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
got.stream.post no longer works with json option since #921
got.stream.post
json
a body is set in asStream the request now have a body and a json option and throw in normalizeRequestArguments
body
the json argument should work with got.stream.post, as it did until #921
got.stream.post('https://sindresorhus.com', {json: {}})
The text was updated successfully, but these errors were encountered:
got/source/as-stream.ts
Line 22 in abdfee2
Should be options.body || options.json || options.form
options.body || options.json || options.form
Sorry, something went wrong.
2ec5c4d
No branches or pull requests
Describe the bug
got.stream.post
no longer works withjson
option since #921Actual behavior
a
body
is set in asStreamthe request now have a
body
and ajson
option and throw in normalizeRequestArgumentsExpected behavior
the
json
argument should work withgot.stream.post
, as it did until #921Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: