mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-25 14:55:41 +01:00
Mark 'req' as used in browser service
This commit is contained in:
parent
7392e1ef91
commit
f89cb19602
@ -10,8 +10,8 @@ use logging::LoggingErrors;
|
||||
use std::collections::HashMap;
|
||||
use url::form_urlencoded;
|
||||
|
||||
pub fn handle(_service: &WebService, _req: Request) -> InternalFuture {
|
||||
Box::new(_req.body().concat2().map(move |body| {
|
||||
pub fn handle(_service: &WebService, req: Request) -> InternalFuture {
|
||||
Box::new(req.body().concat2().map(move |body| {
|
||||
let req = form_urlencoded::parse(body.as_ref())
|
||||
.into_owned()
|
||||
.collect::<HashMap<String, String>>();
|
||||
|
Loading…
Reference in New Issue
Block a user