rename mode const

This commit is contained in:
yggverse 2025-03-24 19:57:54 +02:00
parent 8feab6b93b
commit 161142c809
4 changed files with 6 additions and 6 deletions

View file

@ -51,7 +51,7 @@ fn main() -> ExitCode {
Client::new().request_async(
Request::Gemini { // or `Request::Titan`
uri: Uri::parse("gemini://geminiprotocol.net/", UriFlags::NONE).unwrap(),
mode: Mode::Header // handle content separately (based on MIME)
mode: Mode::HeaderOnly // handle content separately (based on MIME)
},
Priority::DEFAULT,
Cancellable::new(),