Skip to content

Commit 021ac12

Browse files
committed
http: query_params ref hotfix
1 parent bd8817f commit 021ac12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/http.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ impl IncomingHttpRequest {
233233
header_map
234234
}
235235

236-
pub fn query_params(&self) -> HashMap<String, String> {
237-
self.query_params.clone()
236+
pub fn query_params(&self) -> &HashMap<String, String> {
237+
&self.query_params
238238
}
239239
}
240240

0 commit comments

Comments
 (0)