mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
fix default mime type
This commit is contained in:
parent
5d619ff684
commit
b9b91fb628
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue