mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +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
|
||||
match response.meta.status {
|
||||
// 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
|
||||
"text/gemini" => todo!(),
|
||||
// other content types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue