Rocket
Rocket copied to clipboard
A web framework for Rust.
This is a followup from IRC ## Feature Requests It would be nice to have a way to chain data guard. > 1. Why you believe this feature is necessary....
Hi. I'm upgrading one of my applications from Rocket 0.4 to 0.5. I am having a little trouble converting my custom `FromFormValue` to `FromFormField`. My old code is roughly like...
Hi Sergio, I'm loving the rocket so far. I'm trying to create a REST API for a protocol known as IEEE 2030.5. This protocol uses this content type on its...
Inspired by #1505, Rocket's testing suite should be checking that we log what we expect. In particular, that warnings and errors are emitted, at run-time, when desired. Furthermore, we should...
At present, Rocket reexports Hyper types under `http:hyper`. Hyper causes a lot of issues, particularly when trying to optimize performance. A decision needs to be made on whether to stabilize...
It's currently not possible to tap into Rocket's logging infrastructure in any easy way. Of course, logging is important, and so it's necessary to have a nice, clean API for...
Currently rocket requires to redefine the same route twice if you want to add options support. Two Options 1) When you use a method annotation such as get, it also...
It's common to convert between different Error types using From conversions (the popular error_chain and failure crates both promote this). Rust's try! automatically calls .into() to facilitate these conversions. into_outcome...
Testing forms in Rocket is currently an entirely manual process: ```rust let client = Client::tracked(rocket).unwrap(); let response = client.post("/") .header(ContentType::Form) .body("field=value&is+it=a+cat%3F") .dispatch(); ``` With the addition of multipart form support,...
This has been converted into a tracking issue for "Alllow customizing HTTP headers for NamedFile, StaticFiles". Original text after the fold. This tracking issue is a merger of the following:...