David Pedersen
|
a2627e9084
|
Remove support for CONNECT (#428)
Given how different `CONNECT` requests are I think its fine to require
users to handle them manually. Since they don't contain paths you
probably don't need a full routing framework 🤷
An example can be found [here](https://github.com/tokio-rs/axum/blob/main/examples/http-proxy/src/main.rs)
Fixes #418
|
2021-10-26 21:11:33 +00:00 |
|
David Pedersen
|
efdd197643
|
More consistent poll_ready usage
The `#[inline]`s probably aren't necessary but are consistent with other
parts of the code and tower in general.
|
2021-10-26 01:24:57 +02:00 |
|
David Pedersen
|
e43bdf0ecf
|
Rename EmptyRouter to MethodNotAllowed (#411)
It is no longer needed in `Router` so can be changed to always return
`403 Method Not Allowed`.
|
2021-10-25 23:28:22 +02:00 |
|
David Pedersen
|
7692baf837
|
Reorganize method routers for handlers and services (#405)
* Re-organize method routing for handlers
* Re-organize method routing for services
* changelog
|
2021-10-24 20:05:16 +00:00 |
|