Oaskit.Validation.ResponseData (oaskit v0.9.0)
View SourceA subset of a Plug.Conn struct representing an HTTP response, used by
Oaskit.Test and Oaskit.Validation.ResponseValidator.
The :resp_body key must be parsed if the content-type is application/json,
that is, it must be a map (or other JSON data) and not a binary.
Summary
Types
@type t() :: %Oaskit.Validation.ResponseData{ resp_body: term(), resp_headers: headers(), status: pos_integer() }