project_note
Clone
https://git.tahinli.com/Tahinli/project_note.git
0 watching0 forksRust3.6 MiBc49f5e7Tahinli1 month ago2 commits
| 1 | use Deserialize; |
| 2 | use |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | ; |
| 12 | |
| 13 | use crate; |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | /// Accepts "/..." paths on this site. Rejects "//host" and "/\host", which browsers read as |
| 24 | /// other hosts, and anything with control characters. |
| 25 | pub |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | /// POST /lang: stores the chosen language in a cookie and returns to the page it was |
| 34 | /// chosen on. |
| 35 | |
| 36 | async |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 |