From b01292df02a379a5d587ddfd4149914f83a20204 Mon Sep 17 00:00:00 2001 From: Mikhail Korobov Date: Sat, 1 Aug 2015 00:36:16 +0500 Subject: [PATCH] fix request_httprepr docstring --- scrapy/utils/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/utils/request.py b/scrapy/utils/request.py index 4871681a9..ac415e508 100644 --- a/scrapy/utils/request.py +++ b/scrapy/utils/request.py @@ -71,7 +71,7 @@ def request_authenticate(request, username, password): def request_httprepr(request): - """Return the raw HTTP representation (as string) of the given request. + """Return the raw HTTP representation (as bytes) of the given request. This is provided only for reference since it's not the actual stream of bytes that will be send when performing the request (that's controlled by Twisted).