Crate wikidot_path[−][src]
Expand description
A library to provide Wikidot-compatible path parsing.
Wikidot accepts paths in an unusual manner: each argument is submitted as another “directory”.
For instance, the path /scp-xxxx/norender/true/edit/true
is how you access page scp-xxxx
with flags “edit
” and “norender
” activated.
URL normalization is performed when parsing.
See the wikidot-normalize
crate for more information.
Modules
A “prelude” for consumers of the wikidot-path
crate.
Structs
Represents a request for a page.
Enums
A type for possible values an argument key could have.
Functions
Determines if a request with the given path should be redirected or not.