[−][src]Crate wikidot_path
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
prelude | A "prelude" for consumers of the |
Structs
Request | Represents a request for a page. |
Enums
ArgumentValue | A type for possible values an argument key could have. |
Functions
redirect | Determines if a request with the given path should be redirected or not. |