mirror of
https://github.com/apple/swift-http-types
synced 2026-11-28 05:14:20 +00:00
Fix equality check logic in HTTPResponse's == func
This commit is contained in:
1 parent
86d0b56b64
commit
bddc9f79ba
1 file changed
+1
-1
@@ -195,7 +195,7 @@ public struct HTTPResponse: Sendable, Hashable {
|
||||
}
|
||||
|
||||
public static func == (lhs: HTTPResponse, rhs: HTTPResponse) -> Bool {
|
||||
lhs.pseudoHeaderFields == rhs.pseudoHeaderFields && lhs.headerFields == lhs.headerFields
|
||||
lhs.pseudoHeaderFields == rhs.pseudoHeaderFields && lhs.headerFields == rhs.headerFields
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user