Swiftpack.co - Package - vapor/http

Github

link
Stars: 172
Help us keep the lights on

Used By

Total:

Releases

3.1.8 - Feb 6, 2019

Fixed:

  • HTTP upgrade requests now forward bytes buffered during upgrade. (#324)

3.1.7 - Jan 25, 2019

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)

3.1.6 - Oct 31, 2018

Fixed:

  • Improved HTTPProtocolUpgrader's error handling (leaking promise assertion). (#316, #315)

3.1.5 - Oct 2, 2018

Fixed:

  • HTTP cookies with empty values no longer cause all other cookies to disappear (#311).

3.1.4 - Sep 17, 2018

Fixed:

  • Fixes an issue where requests with Connection: close (especially for large responses) could have the connection closed too soon. (#309)