mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-28 02:49:02 +02:00
use custom headers map; more optimizations
This commit is contained in:
@ -107,7 +107,7 @@ where
|
||||
let mut head = ResponseHead::default();
|
||||
head.version = parts.version;
|
||||
head.status = parts.status;
|
||||
head.headers = parts.headers;
|
||||
head.headers = parts.headers.into();
|
||||
|
||||
Ok((head, payload))
|
||||
})
|
||||
|
Reference in New Issue
Block a user