Skip to content

Commit a919f5f

Browse files
committed
Fix conflict.
1 parent d266cd3 commit a919f5f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Source/Turbo/Networking/RedirectHandler.swift

+2-7
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ struct RedirectHandler {
6262
}
6363

6464
extension HTTPURLResponse {
65-
public var isSuccessful: Bool { (200...299).contains(statusCode) }
66-
switch statusCode {
67-
case 200 ... 299:
68-
return true
69-
default:
70-
return false
71-
}
65+
public var isSuccessful: Bool {
66+
(200...299).contains(statusCode)
7267
}
7368
}

0 commit comments

Comments
 (0)