rust-cgi icon indicating copy to clipboard operation
rust-cgi copied to clipboard

Create CGI programmes in Rust with hyper's http types

Results 5 rust-cgi issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi, I'm wondering if this crate is still maintained? I see @badboy forked and published a new `cgi2` crate recently, not sure if those changes are planned to be upstreamed...

When a CGI script is configured to be at the root of a domain -- when the whole website is served from one CGI script -- [cgi/src/lib.rs:304:21](https://github.com/amandasaurus/rust-cgi/blob/v0.6.0/src/lib.rs#L304) panics: thread 'main'...

I suggest using `REQUEST_PATH` instead of `SCRIPT_NAME` to get requested URI in `parse_request`. https://github.com/rory/rust-cgi/blob/269b6680b84bc2645e89ec144f31bbc8b7a4bb2a/src/lib.rs#L235-L240 When the server uses `mod_rewrite` and rewrite requested URI: - If we use SCRIPT_NAME to get...

Hi, it is currently not possible to specify a filename for a binary response. I suggest adding support for this using content disposition information. > The Content-Disposition response header field...