File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ pub struct Request<'headers, 'buf: 'headers> {
451
451
pub method : Option < & ' buf str > ,
452
452
/// The request path, such as `/about-us`.
453
453
pub path : Option < & ' buf str > ,
454
- /// The request version, such as `HTTP/1.1`.
454
+ /// The request minor version, such as `1` for `HTTP/1.1`.
455
455
pub version : Option < u8 > ,
456
456
/// The request headers.
457
457
pub headers : & ' headers mut [ Header < ' buf > ]
@@ -585,7 +585,7 @@ fn skip_spaces(bytes: &mut Bytes) -> Result<()> {
585
585
/// See `Request` docs for explanation of optional values.
586
586
#[ derive( Debug , Eq , PartialEq ) ]
587
587
pub struct Response < ' headers , ' buf : ' headers > {
588
- /// The response version, such as `HTTP/1.1`.
588
+ /// The response minor version, such as `1` for `HTTP/1.1`.
589
589
pub version : Option < u8 > ,
590
590
/// The response code, such as `200`.
591
591
pub code : Option < u16 > ,
You can’t perform that action at this time.
0 commit comments