mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
use server keep-alive timer as slow request timer
This commit is contained in:
@@ -821,11 +821,9 @@ mod tests {
|
||||
scope
|
||||
.route("/path1", Method::GET, |_: HttpRequest<_>| {
|
||||
HttpResponse::Ok()
|
||||
}).route(
|
||||
"/path1",
|
||||
Method::DELETE,
|
||||
|_: HttpRequest<_>| HttpResponse::Ok(),
|
||||
)
|
||||
}).route("/path1", Method::DELETE, |_: HttpRequest<_>| {
|
||||
HttpResponse::Ok()
|
||||
})
|
||||
}).finish();
|
||||
|
||||
let req = TestRequest::with_uri("/app/path1").request();
|
||||
|
Reference in New Issue
Block a user