

def test_non_get(self):
    (req, resp) = self._req_resp('http://example.com/', {
        'method': 'HEAD',
    })
    resp2 = self.mw.process_response(req, resp, self.spider)
    self.assertEqual(resp, resp2)

dataset/ETHPy150Open scrapy/scrapy/tests/test_downloadermiddleware_ajaxcrawlable.py AjaxCrawlMiddlewareTest.test_non_get/original