warp
warp copied to clipboard
A super-easy, composable, web server framework for warp speeds.
**Version** Warp v0.3.1 **Platform** Darwin MacBook-Pro.local 20.6.0 Darwin Kernel Version 20.6.0 **Description** I'm working on a GET endpoint using Warp, but when I receive an URL encoded query param in...
Warp currently doesn't send a Content-Length header, which can lead to problems with applications which expect this header. It would be nice to have a wrapper where I can just...
Many code items are not documented by the documentation, which makes the API harder to understand. Examples are - [`Func`](https://docs.rs/warp/0.2.5/src/warp/generic.rs.html#38) - [`CombinedRejection`](https://docs.rs/warp/0.2.5/src/warp/reject.rs.html#592) - [`FilterBase`](https://docs.rs/warp/0.2.5/src/warp/filter/mod.rs.html#38) and a lot more I don't...
The current implementation of `multipart::form` requires that the Content-Length header exists. However, there are valid situations where this is not the case, for example when Transfer-Encoding header is present. See...
Hello, with the following code, I would get a 405 error while I expect a 404: ```rust fn main() { let routes = warp::post2().map(warp::reply).or(warp::get2().and(warp::path("test").and_then(send_test))); warp::serve(routes).run(([127, 0, 0, 1], 3000)); }...
The rest of the code in my server displays no error but doesn't work because the ``login_route`` and ``and_then`` displays "unknown" That means it doesn't read it which results to...
The CORS filter automatically adds the proper headers to responses and handles pre-flight requests, but if a route is ever rejected, the headers are not added, and so a browser...
**Is your feature request related to a problem? Please describe.** Not really an issue, but it is a bit annoying to make a bunch of if statements rather than one...
This example is similar to [axum/examples/tokio-postgres/src/main.rs](https://github.com/tokio-rs/axum/blob/main/examples/tokio-postgres/src/main.rs), but in the Warp way.
In a project I'm working on, I was able to cut debug build times by ~65%, from 6 minutes to 2 minutes, by [building a more balanced `Or` tree of...