File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ where
160
160
let code = httparse_res. code ;
161
161
let code = code. ok_or_else ( || format_err ! ( "No status code found" ) ) ?;
162
162
163
- // Convert httparse headers + body into a `http ::Response` type.
163
+ // Convert httparse headers + body into a `http_types ::Response` type.
164
164
let version = httparse_res. version ;
165
165
let version = version. ok_or_else ( || format_err ! ( "No version found" ) ) ?;
166
166
ensure_eq ! ( version, 1 , "Unsupported HTTP version" ) ;
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ where
365
365
366
366
ensure ! ( !status. is_partial( ) , "Malformed HTTP head" ) ;
367
367
368
- // Convert httparse headers + body into a `http ::Request` type.
368
+ // Convert httparse headers + body into a `http_types ::Request` type.
369
369
let method = httparse_req. method ;
370
370
let method = method. ok_or_else ( || format_err ! ( "No method found" ) ) ?;
371
371
You can’t perform that action at this time.
0 commit comments