Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jan 28, 2025
1 parent eee87d6 commit cdac038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdac038

Please sign in to comment.