mirror of
https://github.com/apple/swift-http-types
synced 2026-11-26 04:57:48 +00:00
Update contributors
This commit is contained in:
1 parent
31ddb8d558
commit
43107b6de1
5 files changed
+13
-6
No files matched your search
@@ -144,7 +144,7 @@ public struct HTTPField: Sendable, Hashable {
|
||||
}
|
||||
|
||||
static func legalizeValue(_ value: ISOLatin1String) -> ISOLatin1String {
|
||||
if Self._isValidValue(value._storage.utf8) {
|
||||
if self._isValidValue(value._storage.utf8) {
|
||||
return value
|
||||
} else {
|
||||
let bytes = value._storage.utf8.lazy.map { byte -> UInt8 in
|
||||
|
||||
Reference in new issue
Block a user