class

Ktistec::Network::Response

Inherits HTTP::Client::Response < Reference < Object

A response, plus the URL it was ultimately fetched from.

final_url is the last URL in the chain of redirects -- what FEP-fe34 calls the object's "location".

Constructors

new(final_url : String, status : HTTP::Status, body : String | Nil = nil, headers : HTTP::Headers = HTTP::Headers.new)
Source

Instance methods

final_url
Source