cargo-docserver
cargo-docserver copied to clipboard
Fix relative links if the user omits "/index.html" in his request
cargo-docserver can't simply pretend that the user meant to fetch "FOO/index.html" if he requests "FOO" and retrieve the file accordingly. Doing that breaks relative links. Instead, cargo-docserver must send a 302 redirect in such cases.
Fixes #10