mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
remove extras
This commit is contained in:
parent
86af47ff49
commit
f669dc6b23
1 changed files with 2 additions and 6 deletions
|
|
@ -1,15 +1,11 @@
|
||||||
use glib::{Bytes, Uri, UriHideFlags};
|
use glib::{Bytes, Uri, UriHideFlags};
|
||||||
|
|
||||||
/// Optionally use this value by default for the text input
|
|
||||||
pub const DEFAULT_MIME: &str = "text/gemini";
|
|
||||||
|
|
||||||
/// Formatted [Titan](gemini://transjovian.org/titan/page/The%20Titan%20Specification) `Request`
|
/// Formatted [Titan](gemini://transjovian.org/titan/page/The%20Titan%20Specification) `Request`
|
||||||
pub struct Titan {
|
pub struct Titan {
|
||||||
pub uri: Uri,
|
pub uri: Uri,
|
||||||
pub data: Bytes,
|
pub data: Bytes,
|
||||||
/// MIME type is optional argument by Titan protocol specification,
|
/// MIME type is optional attribute by Titan protocol specification,
|
||||||
/// but server MAY reject the request without `mime` value provided
|
/// but server MAY reject the request without `mime` value provided.
|
||||||
/// * see also `DEFAULT_MIME`
|
|
||||||
pub mime: Option<String>,
|
pub mime: Option<String>,
|
||||||
pub token: Option<String>,
|
pub token: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue