File tree 1 file changed +7
-7
lines changed
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 {
1068
1068
type Error = ( ) ;
1069
1069
fn try_from ( s : & str ) -> Result < Self , Self :: Error > {
1070
1070
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 ) ,
1078
1078
_ => Err ( ( ) ) ,
1079
1079
}
1080
1080
}
You can’t perform that action at this time.
0 commit comments