'Save response to cache
:param url: url for this response
.. note:: urls from history saved automatically
:param response: response to save
.. note:: Response is reduced before saving (with :meth:`reduce_response`)
to make it picklable'

def save_response(self, url, response):

    self.responses[url] = (self.reduce_response(response), datetime.now())
    if (response.url != url):
        self.url_map[url] = response.url
    for r in response.history:
        self.url_map[r.url] = response.url
