struct

Krikri::PluginHelpers::HTTPDownload::Result

Inherits Struct < Value < Object

What the FINAL response of a redirect-following download looked like: Ansible's get_url derives a directory-dest download's filename from the final response's Content-Disposition header (falling back to the FINAL post-redirect URL's basename), so callers need both pieces of the last hop, not the original URL.

Constructors

new(final_url : String, headers : HTTP::Headers)
Source

Instance methods

clone
Source
copy_with(final_url _final_url = @final_url, headers _headers = @headers)
Source
final_url
headers