HTTP module:Network -package:gravatar -package:http-client -is:module
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.
HTTP/2 specific data.
Since: 3.2.7
An exception which may be generated by this library
An exception was thrown when inflating a response body.
A type class for things that can be interpreted as an HTTP
RequestBody.
This type function allows any HTTP body if method says it
CanHaveBody. When the method says it should have
NoBody,
the only body option to use is
NoReqBody.
HttpConfig contains settings to be used when making HTTP
requests.
Exceptions that this library throws.
A type class for types that can be used as an HTTP method. To define a
non-standard method, follow this example that defines
COPY:
data COPY = COPY
instance HttpMethod COPY where
type AllowsBody COPY = 'CanHaveBody
httpMethodName Proxy = "COPY"
A type class for response interpretations. It allows us to describe
how to consume the response from a
Response
BodyReader and produce the final result that is to be
returned to the user.