mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-09-12 06:51:50 +00:00
fix default mime type
This commit is contained in:
parent
5d619ff684
commit
b9b91fb628
@ -97,8 +97,8 @@ impl Gemini {
|
||||
Request::Titan(Titan {
|
||||
uri: uri.clone(),
|
||||
data: Bytes::from(data),
|
||||
// * some servers may reject the request without content type // @TODO handle file uploads
|
||||
mime: Some(titan::DEFAULT_MIME.to_string()),
|
||||
// * some servers may reject the request without content type
|
||||
mime: Some("text/plain".to_string()),
|
||||
token: None, // @TODO
|
||||
}),
|
||||
client.clone(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user