mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-20 12:45:41 +02:00
add content-encoding decompression
This commit is contained in:
@@ -507,7 +507,7 @@ impl<P> Service for ResourceService<P> {
|
||||
if let Some(ref mut default) = self.default {
|
||||
Either::B(Either::A(default.call(req)))
|
||||
} else {
|
||||
let req = req.into_request();
|
||||
let req = req.into_parts().0;
|
||||
Either::B(Either::B(ok(ServiceResponse::new(
|
||||
req,
|
||||
Response::MethodNotAllowed().finish(),
|
||||
|
Reference in New Issue
Block a user