mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-22 16:55:36 +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 std::collections::HashMap;
|
||||||
use url::form_urlencoded;
|
use url::form_urlencoded;
|
||||||
|
|
||||||
pub fn handle(_service: &WebService, _req: Request) -> InternalFuture {
|
pub fn handle(_service: &WebService, req: Request) -> InternalFuture {
|
||||||
Box::new(_req.body().concat2().map(move |body| {
|
Box::new(req.body().concat2().map(move |body| {
|
||||||
let req = form_urlencoded::parse(body.as_ref())
|
let req = form_urlencoded::parse(body.as_ref())
|
||||||
.into_owned()
|
.into_owned()
|
||||||
.collect::<HashMap<String, String>>();
|
.collect::<HashMap<String, String>>();
|
||||||
|
Loading…
Reference in New Issue
Block a user