mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use default mime type for Titan text input
This commit is contained in:
parent
73511cef50
commit
0f1c23ce1a
1 changed files with 2 additions and 1 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue