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