Skip to content

JSON Response ​

With X-Glass-Format: json (or ?format=json), Looking Glass returns this document as application/json, always with status 200.

FieldTypeDescription
methodstringRequest method.
uristringPath and query, as sent.
protostringProtocol version (HTTP/1.1).
timestringWhen the request arrived, in UTC (RFC 3339).
remotestringAddress and port of the direct client (a proxy, if there is one).
hoststringThe Host the client asked for.
queryobject of string arraysQuery parameters, each with every value it was sent with.
headersobject of string arraysRequest headers, without Host.
bodystringThe body, up to the body limit; invalid UTF-8 becomes �.
bodyBytesnumberBytes in body.
truncatedbooleanWhether the body was longer than the limit and was cut off.

Released under the MIT License