1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 17:07:01 +02:00

Fix http/2 payload streaming #215

This commit is contained in:
Nikolay Kim
2018-05-08 15:44:50 -07:00
parent ba816a8562
commit 47d80382b2
6 changed files with 23 additions and 18 deletions

View File

@@ -787,10 +787,10 @@ mod tests {
let mut app = App::new()
.scope("app", |scope| {
scope
.route("/path1", Method::GET, |r: HttpRequest<_>| {
.route("/path1", Method::GET, |_: HttpRequest<_>| {
HttpResponse::Ok()
})
.route("/path1", Method::DELETE, |r: HttpRequest<_>| {
.route("/path1", Method::DELETE, |_: HttpRequest<_>| {
HttpResponse::Ok()
})
})