mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 09:05:45 +00:00
update example
This commit is contained in:
parent
8ee088270f
commit
b6ea830545
1 changed files with 3 additions and 5 deletions
|
|
@ -58,11 +58,9 @@ fn main() -> ExitCode {
|
||||||
None, // optional `GTlsCertificate`
|
None, // optional `GTlsCertificate`
|
||||||
|result| match result {
|
|result| match result {
|
||||||
Ok((response, _connection)) => match response {
|
Ok((response, _connection)) => match response {
|
||||||
Response::Success(success) => match success {
|
Response::Success(success) => match success.mime().unwrap().as_str() {
|
||||||
Success::Default(default) => match default.header.mime().unwrap().as_str() {
|
"text/gemini" => todo!(),
|
||||||
"text/gemini" => todo!(),
|
_ => todo!(),
|
||||||
_ => todo!(),
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
_ => todo!(),
|
_ => todo!(),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue