Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Changed the log message to make it more clear. As requested in issue #2927

NoExitTV345d948f2f55
diff --git a/scrapy/core/downloader/handlers/http11.py b/scrapy/core/downloader/handlers/http11.py
index 0a5538947..4e1bb0cd5 100644
--- a/scrapy/core/downloader/handlers/http11.py
+++ b/scrapy/core/downloader/handlers/http11.py
@@ -344,7 +344,7 @@ class ScrapyAgent(object):
if warnsize and expected_size > warnsize:
logger.warning("Expected response size (%(size)s) larger than "
- "download warn size (%(warnsize)s) in request (%(request)s).",
+ "download warn size (%(warnsize)s) in request %(request)s.",
{'size': expected_size, 'warnsize': warnsize, 'request': request})
def _cancel(_):