1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 01:31:57 +02:00

make some http re-exports more accessible (#2171)

This commit is contained in:
Rob Ede
2021-04-19 03:29:38 +01:00
committed by GitHub
parent b9dbc58e20
commit db97974dc1
9 changed files with 66 additions and 20 deletions

View File

@@ -553,7 +553,7 @@ impl fmt::Display for ContentDisposition {
mod tests {
use super::{ContentDisposition, DispositionParam, DispositionType};
use crate::http::header::{Charset, ExtendedValue, HeaderValue};
#[test]
fn test_from_raw_basic() {
assert!(ContentDisposition::from_raw(&HeaderValue::from_static("")).is_err());