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

Remove duplicate example for ClientBuilder::default_headers #2236

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Remove duplicate example for ClientBuilder::default_headers #2236

merged 2 commits into from
Apr 5, 2024

Conversation

Kriskras99
Copy link
Contributor

The code example is listed twice, once with marking a header as sensitive and once without.
I've removed the the example without the sensitive part.

@seanmonstar seanmonstar enabled auto-merge (squash) April 5, 2024 12:48
@seanmonstar seanmonstar merged commit 9209695 into seanmonstar:master Apr 5, 2024
33 checks passed
kodiakhq bot pushed a commit to pdylanross/fatigue that referenced this pull request Apr 8, 2024
Bumps reqwest from 0.12.2 to 0.12.3.

Release notes
Sourced from reqwest's releases.

v0.12.3
What's Changed

Add FromStr for dns::Name.
Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
Fix sending content-length: 0 for GET requests.
Fix response body content_length() to return value when timeout is configured.
Fix ClientBuilder::resolve() to use lowercase domain names.

New Contributors

@​zuisong made their first contribution in seanmonstar/reqwest#2207
@​djc made their first contribution in seanmonstar/reqwest#2222
@​krant made their first contribution in seanmonstar/reqwest#2226
@​Kriskras99 made their first contribution in seanmonstar/reqwest#2236

Full Changelog: seanmonstar/reqwest@v0.12.2...v0.12.3



Changelog
Sourced from reqwest's changelog.

v0.12.3

Add FromStr for dns::Name.
Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
Fix sending content-length: 0 for GET requests.
Fix response body content_length() to return value when timeout is configured.
Fix ClientBuilder::resolve() to use lowercase domain names.




Commits

0720159 v0.12.3
9209695 Remove duplicate example for ClientBuilder::default_headers (#2236)
e3a1565 fix: use lower case domain string when using resolve and resolve_to_addrs...
b4c491a feat: allow fine-grained root certs for rustls (#2232)
cf4295d chore: update winreg to 0.52.0 (#2226)
db25e80 chore: upgrade base64 to 0.22 (#2224)
13e27b7 fix: response body timeout forwards the size hint
872af0c refactor: upgrade to rustls-pemfile 2 (#2222)
68a3f58 fix: stop sending content-length: 0 for GET requests (#2207)
14e46ff FromStr trait implementation for Name (#2212)
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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@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)
cxw620 pushed a commit to cxw620/lib_reqwest that referenced this pull request Apr 11, 2024
…tar#2236)

* Remove duplicate example for ClientBuilder::default_headers

* Remove duplicate example for ClientBuilder::default_headers (blocking)
Nutomic pushed a commit to Nutomic/reqwest that referenced this pull request Nov 7, 2024
…tar#2236)

* Remove duplicate example for ClientBuilder::default_headers

* Remove duplicate example for ClientBuilder::default_headers (blocking)
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