Commit 83ee831 1 parent 7b6346a commit 83ee831 Copy full SHA for 83ee831
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ pub enum RunOutcome {
183
183
NetworkError ,
184
184
HttpProtocolError ,
185
185
HttpConnectError ,
186
- HttpRedirectError ,
186
+ HttpRedirectResponse ,
187
187
HttpTimeoutError ,
188
188
HttpNon200Error ,
189
189
HttpTooManyRequestsError ,
@@ -273,15 +273,15 @@ impl TestRun {
273
273
RdapClientError :: ParsingError ( e) => {
274
274
let status_code = e. http_data . status_code ( ) ;
275
275
if status_code > 299 && status_code < 400 {
276
- RunOutcome :: HttpRedirectError
276
+ RunOutcome :: HttpRedirectResponse
277
277
} else {
278
278
RunOutcome :: JsonError
279
279
}
280
280
}
281
281
RdapClientError :: IoError ( _) => RunOutcome :: NetworkError ,
282
282
RdapClientError :: Client ( e) => {
283
283
if e. is_redirect ( ) {
284
- RunOutcome :: HttpRedirectError
284
+ RunOutcome :: HttpRedirectResponse
285
285
} else if e. is_connect ( ) {
286
286
RunOutcome :: HttpConnectError
287
287
} else if e. is_timeout ( ) {
You can’t perform that action at this time.
0 commit comments