diff options
| author | Fuwn <[email protected]> | 2022-03-26 09:43:42 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-26 09:43:42 +0000 |
| commit | a436ec3dee22fcf58d9ce1e7b6bbba7766aabd79 (patch) | |
| tree | a0826d014e317753cd580b9f0d56e8c523130e41 /src/lib.rs | |
| parent | feat(response): temporary failure response (diff) | |
| download | windmark-a436ec3dee22fcf58d9ce1e7b6bbba7766aabd79.tar.xz windmark-a436ec3dee22fcf58d9ce1e7b6bbba7766aabd79.zip | |
feat(response): inputs
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -367,11 +367,11 @@ impl Router { "{}{}\r\n{}", response_status, match response_status { - 40 | 50 | 51 => &*content, + 10 | 11 | 40 | 50 | 51 => &*content, _ => " text/gemini; charset=utf-8", }, match response_status { - 40 | 50 | 51 => "".to_string(), + 10 | 11 | 40 | 50 | 51 => "".to_string(), _ => format!("{}{}{}", header, content, footer), } ) |