refactor(header): make const private
This commit is contained in:
parent
c4aedc65ce
commit
6d42e19528
|
@ -8,7 +8,7 @@ use std::time::Duration;
|
|||
pub const EXPIRE: &str = "expire";
|
||||
|
||||
/// Custom HTTP header to override filename.
|
||||
pub const FILENAME: &str = "filename";
|
||||
const FILENAME: &str = "filename";
|
||||
|
||||
/// Parses the expiry date from the [`custom HTTP header`](EXPIRE).
|
||||
pub fn parse_expiry_date(headers: &HeaderMap, time: Duration) -> Result<Option<u128>, ActixError> {
|
||||
|
|
Loading…
Reference in New Issue