mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
remove Response constraint
This commit is contained in:
parent
7f749ac9cc
commit
60a8da5c05
@ -16,7 +16,7 @@ use crate::header::{Header, IntoHeaderValue};
|
|||||||
use crate::message::{ConnectionType, Head, Message, ResponseHead};
|
use crate::message::{ConnectionType, Head, Message, ResponseHead};
|
||||||
|
|
||||||
/// An HTTP Response
|
/// An HTTP Response
|
||||||
pub struct Response<B: MessageBody = Body> {
|
pub struct Response<B = Body> {
|
||||||
head: Message<ResponseHead>,
|
head: Message<ResponseHead>,
|
||||||
body: ResponseBody<B>,
|
body: ResponseBody<B>,
|
||||||
error: Option<Error>,
|
error: Option<Error>,
|
||||||
|
Loading…
Reference in New Issue
Block a user