Skip to content

Commit e7d8a17

Browse files
committed
Correctly set the uri when converting from hyperium
Signed-off-by: Ryan Levick <[email protected]>
1 parent d3dd934 commit e7d8a17

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sdk/rust/src/http/conversions.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,7 @@ where
366366
.collect();
367367
Ok(Request {
368368
method,
369-
uri: req
370-
.uri()
371-
.path_and_query()
372-
.map(|p| p.to_string())
373-
.unwrap_or_else(|| String::from("/")),
369+
uri: req.uri().to_string(),
374370
headers,
375371
params: Vec::new(),
376372
body: B::try_into_body(req.into_body())?,

0 commit comments

Comments
 (0)