T3.HTTP.Response (T3 v0.3.0)

Copy Markdown View Source

An HTTP success, including raw headers and a JSON-decoded or binary body.

Bodies/headers can contain credentials from authentication routes; Inspect intentionally shows only status. A redirect is returned as an HTTP error, never followed automatically. No cookie jar is maintained.

Summary

Types

t()

@type t() :: %T3.HTTP.Response{
  body: term(),
  headers: [{binary(), binary()}],
  status: integer()
}