code: def extract_cookies(self, response, request, referrer_host=None):
          '''Wrapped ``extract_cookies``.
  
          Args:
              response: An instance of :class:`.http.request.Response`.
              request: An instance of :class:`.http.request.Request`.
              referrer_host (str): An hostname or IP address of the referrer
                  URL.
          '''
          new_response = HTTPResponseInfoWrapper(response)
          new_request = convert_http_request(request, referrer_host)
  
          self._cookie_jar.extract_cookies(new_response, new_requestf extract_cookies(self, response, request, referrer_host=None):
          '''Wrapped ``extract_cookies``.
  
          Args:
              response: An instance of :class:`.http.request.Response`.
              request: An instance of :class:`.http.request.Request`.
              referrer_host (str): An hostname or IP address of the referrer
                  URL.
          '''
          new_response = HTTPResponseInfoWrapper(response)
          new_request = convert_http_request(request, referrer_host)
  
          self._cookie_jar.extract_cookies(new_response, new_request)
docs: Wrapped ``extract_cookies``.
  
          Args:
              response: An instance of :class:`.http.request.Response`.
              request: An instance of :class:`.http.request.Request`.
              referrer_host (str): An hostname or IP address of the referrer
                  URL.