lib/manticore/response.rb
# Fetch the final resolved URL for this response. Will call the request if it has not been called yet.
#
# @return [String]
Fetch the final resolved URL for this response. Will call the request if it has not been called yet.
Fetch the final resolved URL for this response . Will call the request if it has not been called yet .
def final_url
      call_once
      last_request = context.get_attribute ExecutionContext::HTTP_REQUEST
      last_host = context.get_attribute ExecutionContext::HTTP_TARGET_HOST
      host = last_host.to_uri
      url = last_request.get_uri
      URI.join(host, url.to_s)
    end
def final_url call_once last_request = context . get_attribute ExecutionContext :: HTTP_REQUEST last_host = context . get_attribute ExecutionContext :: HTTP_TARGET_HOST host = last_host . to_uri url = last_request . get_uri URI . join ( host , url . to_s ) end
Fetch the final resolved URL for this response.
Fetch the final resolved URL for this response .
None
String