class HTTP::Request::Caching

def conditional_on_changes_to(cached_response)

Other tags:
    Api: - public

Returns:
  • (HTTP::Request::Caching) - new request based on this
def conditional_on_changes_to(cached_response)
  self.class.new HTTP::Request.new(
    verb, uri, headers.merge(conditional_headers_for(cached_response)),
    proxy, body, version).caching
end