mirror of
https://github.com/fafhrd91/actix-web
synced 2025-07-02 01:05:08 +02:00
make some http re-exports more accessible (#2171)
This commit is contained in:
@ -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());
|
||||
|
@ -9,6 +9,7 @@ use actix_http::{
|
||||
};
|
||||
use actix_router::{IntoPattern, Path, Resource, ResourceDef, Url};
|
||||
use actix_service::{IntoServiceFactory, ServiceFactory};
|
||||
#[cfg(feature = "cookies")]
|
||||
use cookie::{Cookie, ParseError as CookieParseError};
|
||||
|
||||
use crate::dev::insert_slash;
|
||||
|
Reference in New Issue
Block a user