Skip to content
Myr

docs: fix route_service example for Body API (#3890)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by chenchen · committed by GitHub · parent af1345b · Browse files · 2 files+24 added−16 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+24 added−16 removed

  • other:+24 added−16 removed

2 files+24 added−16 removed

modified:axum/src/docs/routing/route_service.md+21 added-16 removed
modified:axum/CHANGELOG.md+3 added
30 unmodified lines
31- **fixed:** Responses to `HEAD` will not accidentally reply with `content-length: 0` anymore ([#3742])32- **added:** Add `MethodFilter::QUERY`, `routing::query[_service]` and `MethodRouter::query[_service]` ([#3801])33- **fixed:** `MethodRouter::merge` no longer lists a method twice in the `Allow`34 header after merging `get` and `head` ([#3836])35- **changed:** Update `Router::route_service` docs for `axum::body::Body` instead of36 the removed `BoxBody` type ([#3890])3738[#3158]: https://github.com/tokio-rs/axum/pull/315839[#3261]: https://github.com/tokio-rs/axum/pull/326140[#3205]: https://github.com/tokio-rs/axum/pull/3205
9 unmodified lines
50[#3757]: https://github.com/tokio-rs/axum/pull/375751[#3829]: https://github.com/tokio-rs/axum/pull/382952[#3801]: https://github.com/tokio-rs/axum/pull/380153[#3867]: https://github.com/tokio-rs/axum/pull/386754[#3890]: https://github.com/tokio-rs/axum/pull/38905556# 0.8.95758- **added:** `WebSocketUpgrade::{requested_protocols, set_selected_protocol}` for more
2409 unmodified lines