Carl Lerche
Carl Lerche
ie: ```rust /// @post("/foo") fn my_action(&self, body: B) -> Result { // ... } ```
> It would be very powerful to have the examples be self-hosting and self-documenting. Doing cargo run --example foo and going to / can have HTML with descriptions and links...
* Mounting resources at a prefix. * Specify prefix on impl. * Use a trie.
How should caching work? * Support for various caching related HTTP headers. * In-process caching middleware?
* The required annotation is very annoying. * Allow specifying content type at the impl level and response level. * Infer content-type from file.
This would be great as a middleware.
We should use Github Actions to test the build.
A common beginner mistake is to forget to call .await. The symptom is that the program does not do the expected work. We should call this out on the hello-tokio...