File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ use crate::uri::InvalidUri;
99use crate :: uri:: path:: PathAndQuery ;
1010
1111// Request Info Line
12- #[ derive( Debug ) ]
12+ #[ derive( Debug , PartialEq ) ]
1313pub struct RequestLine {
1414 method : BytesMut , // Method + Space
1515 uri : BytesMut , // Uri
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use thiserror::Error;
44use super :: { InfoLine , InfoLineError } ;
55
66// Response Info Line
7- #[ derive( Debug ) ]
7+ #[ derive( Debug , PartialEq ) ]
88pub struct ResponseLine {
99 version : BytesMut , // Version + space
1010 status : BytesMut , // status
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use bytes::Bytes;
22
33use crate :: { methods:: Method , uri:: Uri } ;
44
5- #[ derive( Debug , Default ) ]
5+ #[ derive( Debug , Default , PartialEq ) ]
66pub struct RequestLine {
77 method : Method ,
88 uri : Uri ,
Original file line number Diff line number Diff line change 11use crate :: status:: StatusCode ;
22
3- #[ derive( Debug ) ]
3+ #[ derive( Debug , PartialEq ) ]
44pub struct ResponseLine {
55 status : StatusCode ,
66}
You can’t perform that action at this time.
0 commit comments