mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-28 02:49:02 +02:00
cleanup mut transform
This commit is contained in:
@ -307,7 +307,7 @@ impl<H: 'static> Entry<H> {
|
||||
// Payload and Content-Encoding
|
||||
let (psender, payload) = Payload::new(false);
|
||||
|
||||
let msg = settings.get_http_message();
|
||||
let mut msg = settings.get_http_message();
|
||||
msg.get_mut().url = Url::new(parts.uri);
|
||||
msg.get_mut().method = parts.method;
|
||||
msg.get_mut().version = parts.version;
|
||||
|
Reference in New Issue
Block a user