Use the given charset by default, unless specified otherwise in the response headers.
Use the utf-8
charset by default, unless specified otherwise in the response headers.
Use the given charset by default, unless specified otherwise in the response headers.
Use the utf-8
charset by default, unless specified otherwise in the response headers.
Use the utf-8
charset by default, unless specified otherwise in the response headers.
A starting request, with the following modification comparing to emptyRequest
: Accept-Encoding
is set to
gzip, deflate
(compression/decompression is handled automatically by the library).
A starting request, with the following modification comparing to emptyRequest
: Accept-Encoding
is set to
gzip, deflate
(compression/decompression is handled automatically by the library).
Reads the response body as an Either[String, String]
, where Left
is used if the status code is non-2xx,
and Right
otherwise.
An empty request with no headers.
An empty request with no headers.
Reads the response body as an Either[String, String]
, where Left
is used if the status code is non-2xx,
and Right
otherwise.
Content type will be set to application/octet-stream
, can be
overridden later using the contentType
method.
Encodes the given parameters as form data.
Encodes the given parameters as form data.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
Encodes the given parameters as form data using utf-8
.
Encodes the given parameters as form data using utf-8
.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
Encodes the given parameters as form data.
Encodes the given parameters as form data.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
Encodes the given parameters as form data using utf-8
.
Encodes the given parameters as form data using utf-8
.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to text/plain
with utf-8
encoding, can be
overridden later using the contentType
method.
Content type will be set to text/plain
with utf-8
encoding, can be
overridden later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
File name will be set to the name of the file.
A starting request which always reads the response body as a string, regardless of the status code.