From 775134639d75b3fd58f9c19a1740085317d11f7f Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 20 Apr 2012 20:33:15 +0000 Subject: [PATCH] minor update --- lib/request/connect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index d11525b66..b77b055d2 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -464,8 +464,8 @@ class Connect: elif "URLError" in tbMsg or "error" in tbMsg: warnMsg = "unable to connect to the target url" elif "BadStatusLine" in tbMsg: - warnMsg = "the target url responded with an unknown HTTP " - warnMsg += "status code, try to force the HTTP User-Agent " + warnMsg = "connection dropped or unknown HTTP " + warnMsg += "status code received. Try to force the HTTP User-Agent " warnMsg += "header with option '--user-agent' or switch '--random-agent'" elif "IncompleteRead" in tbMsg: warnMsg = "there was an incomplete read error while retrieving data "