HTTP module:Network -package:amazonka-s3 -package:url -package:HTTP

HTTP
http://
A layer on top of the HTTP functions in the http-client library which lifts the return values to the typeclasses we are using in this library. Non 200 responses are converted into MonadError errors.
Given host name, produce a Url which has “http” as its scheme and empty path. This also sets port to 80.
Begin constructing a Request, starting with the request line.
HTTP Version. Note that the Show instance is intended merely for debugging.
An exception which may be generated by this library
Most exceptions are specific to a Request. Inspect the HttpExceptionContent value for details on what occurred.
An exception was thrown when inflating a response body.
HTTP/2 specific data. Since: 3.2.7
Implements HTTP Basic Authentication. This module may add digest authentication in the future.