Merge pull request #30 from Jager-yoo/fix-http-response

Fix equality check logic in HTTPResponse's `==` func
This commit is contained in:
Guoye Zhang authored and GitHub committed 2023-09-15 22:52:09 -07:00
commit 4e40ba5e67
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}