File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1068,13 +1068,13 @@ impl TryFrom<&str> for HeaderComponent {
10681068 type Error = ( ) ;
10691069 fn try_from ( s : & str ) -> Result < Self , Self :: Error > {
10701070 match s {
1071- "status_code" => Ok ( HeaderComponent :: StatusCode ) ,
1072- "http_header" => Ok ( HeaderComponent :: HttpHeader ) ,
1073- "redirect" => Ok ( HeaderComponent :: Redirect ) ,
1074- "json" => Ok ( HeaderComponent :: Json ) ,
1075- "csv" => Ok ( HeaderComponent :: Csv ) ,
1076- "cookie" => Ok ( HeaderComponent :: Cookie ) ,
1077- "authentication" => Ok ( HeaderComponent :: Authentication ) ,
1071+ "status_code" => Ok ( Self :: StatusCode ) ,
1072+ "http_header" => Ok ( Self :: HttpHeader ) ,
1073+ "redirect" => Ok ( Self :: Redirect ) ,
1074+ "json" => Ok ( Self :: Json ) ,
1075+ "csv" => Ok ( Self :: Csv ) ,
1076+ "cookie" => Ok ( Self :: Cookie ) ,
1077+ "authentication" => Ok ( Self :: Authentication ) ,
10781078 _ => Err ( ( ) ) ,
10791079 }
10801080 }
You can’t perform that action at this time.
0 commit comments