You can now create a publisher for an HTTPResponse
with a URLRequest
, allowing you to add custom headers.
The makeSecureHTTPResponsePublisher(for:in:)
functions have been renamed to makeHTTPResponsePublisher(for:in:)
and the makeHTTPResponsePublisher(for:in:)
functions have been renamed to makeInsecureHTTPResponsePublisher(for:in:)
to reflect the fact that developers should prefer HTTPS. We've also namespaced the methods to make an HTTPSResponse
publisher within URLSession
since that style is generally preferred to free functions.
We explicitly specify the platforms that we support and we build those platforms in
CI. We've added a HTTPResponse
to
the public API. HTTPResponse
is value type. We've added global factory methods for producing type-erased publishers that output a HTTPResponse
.
Initial version.