1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 16:55:08 +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

@ -10,12 +10,13 @@ use std::{
use bytes::BytesMut;
use derive_more::{Display, Error, From};
use http::uri::InvalidUri;
use http::{header, Error as HttpError, StatusCode};
use http::{header, uri::InvalidUri, StatusCode};
use serde::de::value::Error as DeError;
use crate::{body::Body, helpers::Writer, Response, ResponseBuilder};
pub use http::Error as HttpError;
/// A specialized [`std::result::Result`]
/// for actix web operations
///