Replace mime type "application/ron" by "text/ron" and put it in the common crate
This commit is contained in:
parent
f9899c1aeb
commit
1c2e910dea
7 changed files with 96 additions and 129 deletions
|
|
@ -1,5 +1,11 @@
|
|||
use http::HeaderValue;
|
||||
|
||||
pub const MIN_PASSWORD_SIZE: usize = 8;
|
||||
pub const COOKIE_DARK_THEME: &str = "dark_theme";
|
||||
|
||||
pub const GET_PARAMETER_USER_MESSAGE: &str = "user_message";
|
||||
pub const GET_PARAMETER_USER_MESSAGE_LEVEL: &str = "user_message_icon";
|
||||
|
||||
// It should be "application/ron" but firefox can't display the response propertly (base64)
|
||||
// in the dev tool.
|
||||
pub const MIME_TYPE_RON: HeaderValue = HeaderValue::from_static("text/ron");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue