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

bug: fix custom content-type overidden by json method #1833

Merged
merged 2 commits into from
May 15, 2023

Conversation

hulin32
Copy link
Contributor

@hulin32 hulin32 commented May 15, 2023

fix the issue reported here

@hulin32
Copy link
Contributor Author

hulin32 commented May 15, 2023

@seanmonstar 🙌 hello
could you also help to approve the workflow?
I forgot to run fmt cmd, thanks a lot

Copy link
Owner

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@seanmonstar seanmonstar merged commit b13ca4b into seanmonstar:master May 15, 2023
kodiakhq bot pushed a commit to pdylanross/fatigue that referenced this pull request May 17, 2023
Bumps reqwest from 0.11.17 to 0.11.18.

Release notes
Sourced from reqwest's releases.

v0.11.18
What's Changed

Fix RequestBuilder::json() method from overriding a previously set content-type header. An existing value will be left in place.
Upgrade internal dependencies for rustls and compression.

New Contributors

@​flyingalex made their first contribution in seanmonstar/reqwest#1833
@​cpu made their first contribution in seanmonstar/reqwest#1791




Changelog
Sourced from reqwest's changelog.

v0.11.18

Fix RequestBuilder::json() method from overriding a previously set content-type header. An existing value will be left in place.
Upgrade internal dependencies for rustls and compression.




Commits

00be85e v0.11.18
a0b5ea5 deps: update rustls v0.20.1 -> v0.21.0 (#1791)
b13ca4b bug: fix custom content-type overidden by json method (#1833)
eca2a2f CI: Enable dependabot for GitHub Action Workflow (#1831)
9de702c Speedup CI (#1830)
7e7b116 deps: Update async-compression v0.3.13 => v0.4.0 (#1828)
See full diff in compare view




Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Nutomic pushed a commit to Nutomic/reqwest that referenced this pull request Nov 7, 2024
* bug: fix custom content-type overided for json method

* fix format

---------

Co-authored-by: hulin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants