mirror of
https://github.com/apple/swift-http-types
synced 2026-11-24 04:37:51 +00:00
Merge pull request #30 from Jager-yoo/fix-http-response
Fix equality check logic in HTTPResponse's `==` func
This commit is contained in:
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