use default mime type for Titan text input

This commit is contained in:
yggverse 2025-01-25 22:23:27 +02:00
parent 73511cef50
commit 0f1c23ce1a

View file

@ -97,7 +97,8 @@ impl Gemini {
Request::Titan(Titan {
uri: uri.clone(),
data: Bytes::from(data),
mime: None, // @TODO
// * some servers may reject the request without content type // @TODO handle file uploads
mime: Some(titan::DEFAULT_MIME.to_string()),
token: None, // @TODO
}),
client.clone(),