HAR::Response
Inherits JSON::Serializable < Reference < Object
This object contains detailed info about the response.
The total response size received can be computed as follows (if both values are available):
total_size = entry.response.headers_size + entry.response.body_size
Constructors
Instance methods
Size of the received response body in bytes.
Set to 0 in case of responses coming from the cache (304).
NOTE: Set to -1 if the info is not available.
Size of the received response body in bytes.
Set to 0 in case of responses coming from the cache (304).
NOTE: Set to -1 if the info is not available.
Total number of bytes from the start of the HTTP response message until
(and including) the double CRLF before the body.
NOTE: Set to -1 if the info is not available.
NOTE: The size of received response-headers is computed only from headers
that are really received from the server. Additional headers appended by
the browser are not included in this number, but they appear in the list
of header objects.
Total number of bytes from the start of the HTTP response message until
(and including) the double CRLF before the body.
NOTE: Set to -1 if the info is not available.
NOTE: The size of received response-headers is computed only from headers
that are really received from the server. Additional headers appended by
the browser are not included in this number, but they appear in the list
of header objects.
Redirection target URL from the Location response header.