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
ky.post(`/foo/bar`, { headers: { accept: 'application/vnd.VENDER_NAME+json; version=2', }, json, });
Ky ignores the supplied accept header and instead decides to use application/json (probably due to setting the json property).
accept
application/json
json
The text was updated successfully, but these errors were encountered:
content-type
Successfully merging a pull request may close this issue.
Ky ignores the supplied
accept
header and instead decides to useapplication/json
(probably due to setting thejson
property).The text was updated successfully, but these errors were encountered: