refactor(header): make const private

This commit is contained in:
Helmut K. C. Tessarek 2024-02-09 16:10:56 -05:00
parent c4aedc65ce
commit 6d42e19528
No known key found for this signature in database
GPG Key ID: BE0985349D44DD00
1 changed files with 1 additions and 1 deletions

View File

@ -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> {