Skip to content

Commit

Permalink
remove extras
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jan 25, 2025
1 parent 86af47f commit f669dc6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/client/connection/request/titan.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
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`
pub struct Titan {
pub uri: Uri,
pub data: Bytes,
/// MIME type is optional argument by Titan protocol specification,
/// but server MAY reject the request without `mime` value provided
/// * see also `DEFAULT_MIME`
/// MIME type is optional attribute by Titan protocol specification,
/// but server MAY reject the request without `mime` value provided.
pub mime: Option<String>,
pub token: Option<String>,
}
Expand Down

0 comments on commit f669dc6

Please sign in to comment.