This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
Releases: vapor/http
Releases · vapor/http
SameSite Attribute support none, default = lax
Adds the none attribute to SameSite cookies (#376). This resolves vapor/vapor#375.
HTTP 3.3.2
Swift NIO vulnerability fix:
https://forums.swift.org/t/swiftnio-security-releases-2-13-1-and-1-14-2/33671
HTTP 3.2.1
Fixed:
HTTPClient
no longer overridesUser-Agent
andHost
headers. (#365)
HTTP 3.2.0
HTTP 3.1.11
Fixed:
- Silenced a Swift 5 warning. (#351)
HTTP 3.1.10
Fixed:
- Fixed an issue that could cause unnecessary re-allocations during large file uploads. (#346)
HTTP 3.1.9
Fixed:
- Fixed a bug that could cause cookies to be duplicated if added one-by-one. (#343)
HTTP 3.1.8
Fixed:
- HTTP upgrade requests now forward bytes buffered during upgrade. (#324)
HTTP 3.1.7
Fixed:
HTTPScheme.https
now enables certificate verification by default. (#328)
Note: This may cause HTTPClient
to fail with NIOOpenSSLError.unableToValidateCertificate
if the remote you are connecting to does not have a verifiable certificate. To work around this, use the new HTTPScheme.customHTTPS(_:)
method.
let res = try HTTPClient.connect(
scheme: .customHTTPS(.forClient(certificateVerification: .none)),
hostname: "127.0.0.1"
).send(req).wait()
HTTPScheme.https
now configures SNI. (#314)