Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ sysinfo = "0.38.4"
tracing = "0.1.44"
num_cpus = "1.17.0"
chunkify = "10.1.11"
hyperlane = "21.7.8"
once_cell = "1.21.4"
color-log = "10.1.11"
hyperlane = "21.12.0"
serde_with = "3.24.0"
serde_yaml = "0.9.33"
urlencoding = "2.1.3"
jwt-service = "10.1.11"
color-output = "10.1.11"
hyperlane-core = "21.7.8"
lombok-macros = "10.1.11"
file-operation = "10.1.11"
hyperlane-core = "21.12.0"
server-manager = "10.1.11"
hyperlane-macros = "23.0.21"
instrument-level = "10.1.11"
Expand Down
23 changes: 23 additions & 0 deletions application/header/const.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/// HTTP `date` header name.
pub(crate) const DATE: &str = "date";

/// HTTP `range` request header name.
pub(crate) const RANGE: &str = "range";

/// HTTP `expires` response header name.
pub(crate) const EXPIRES: &str = "expires";

/// HTTP `accept-ranges` response header name.
pub(crate) const ACCEPT_RANGES: &str = "accept-ranges";

/// HTTP `authorization` request header name.
pub(crate) const AUTHORIZATION: &str = "authorization";

/// HTTP `cache-control` header name.
pub(crate) const CACHE_CONTROL: &str = "cache-control";

/// HTTP `content-range` response header name.
pub(crate) const CONTENT_RANGE: &str = "content-range";

/// HTTP `content-disposition` response header name.
pub(crate) const CONTENT_DISPOSITION: &str = "content-disposition";
3 changes: 3 additions & 0 deletions application/header/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mod r#const;

pub(crate) use r#const::*;
3 changes: 3 additions & 0 deletions application/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
pub mod controller;
pub mod domain;
pub mod exception;
mod header;
pub mod mapper;
pub mod middleware;
pub mod model;
Expand All @@ -15,6 +16,8 @@ pub mod service;
pub mod utils;
pub mod view;

pub(crate) use header::*;

use std::{
collections::{HashMap, HashSet},
sync::{Arc, OnceLock},
Expand Down
Loading