Represents a HTTP response. This is essentially immutable, although the implementation of
the enclosed response body may vary.
Note that the body may represent one of three cases: in the two obvious cases,
there was real data supplied by the server, that may or may not have been empty. The third case is a special
case in which the body is empty because the HTTP standard does not permit a body under those circumstances.
This is true for HEAD requests and all those status codes such as 204 or 304 for which the status bodyAllowed
field is false.
A response may sometimes indicate a redirect. The lazy field redirectTo is computed with the new request
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Represents a HTTP response. This is essentially immutable, although the implementation of the enclosed response body may vary.
Note that the body may represent one of three cases: in the two obvious cases, there was real data supplied by the server, that may or may not have been empty. The third case is a special case in which the body is empty because the HTTP standard does not permit a body under those circumstances. This is true for HEAD requests and all those status codes such as 204 or 304 for which the status bodyAllowed field is false.
A response may sometimes indicate a redirect. The lazy field
redirectTo
is computed with the new request