mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-02 10:05:36 +00:00
fix example
This commit is contained in:
parent
eee87d66b4
commit
cdac038135
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ fn main() -> ExitCode {
|
||||||
// route by status code
|
// route by status code
|
||||||
match response.meta.status {
|
match response.meta.status {
|
||||||
// code 20, handle `GIOStream` by content type
|
// code 20, handle `GIOStream` by content type
|
||||||
Status::Success => match response.meta.mime.unwrap().value.as_str() {
|
Status::Success => match response.meta.mime.unwrap().as_str() {
|
||||||
// gemtext, see ggemtext crate to parse
|
// gemtext, see ggemtext crate to parse
|
||||||
"text/gemini" => todo!(),
|
"text/gemini" => todo!(),
|
||||||
// other content types
|
// other content types
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue