tide
tide copied to clipboard
Fast and friendly HTTP server framework for async Rust
How can a Tide handler send a [`tide::StatusCode::Continue`](https://docs.rs/tide/latest/tide/enum.StatusCode.html#variant.Continue) response with no body and then later send a full response? I am deploying an API server which uses Tide. I'm deploying...
I'm a big fan of whats happening in Tide and the overall approach. Many web server frameworks in other languages allow for extensions that produce swagger output. The swagger output...
Remove obsolete part of documentation which refers to attributes which were removed in [commit 6eeb9b33](https://github.com/http-rs/tide/commit/6eeb9b33e0d9ff63ccaca0c161d6389bb6b14f86#diff-b7dd6c6dc06c9c5da00a0c048df395e5fed282392d70a222b1d0e34706d9baf3) (which already removed a line from this paragraph)
Due to the way the `async-h1` crate writes HTTP responses to the `TcpStream` the head and body end up in separate write calls to the underlying socket. If we're responding...
I considered adding it directly to the `Request` struct, though now I'm not sure anymore why I didn't, haha. I guess this PR is more of an RFC though. I...
I don't see any references or uses of http2 ```rust [features] default = ["h1-server"] h1-server = ["async-h1"] ``` **async-h1 crate** should be http1 async parsing
> Note: this would be a breaking change to the ecosystem as it eliminates the generics on all the traits (`Server`, `Listener`, `Endpoint`, `Request`, `Next`, `Endpoint`, `Listener`, and `Server` and...
This would technically be a breaking change, but I updated the response ext functions to match the same ones on the request.
I read a [blog post] that included a simplified middleware so I wrote one of my own: ```rust /// Middleware that disables browser caching by default. async fn no_store) ->...
I recently came across the [salvo](https://github.com/salvo-rs/salvo/blob/main/core/src/routing/mod.rs) implementation for middleware (control flow) and I really like the use of the [async_recursion](https://docs.rs/async-recursion) combined with a simple cursor to allow middleware to run...