Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5bb8e15

Browse files
committed
Minor code improvements
1 parent d3c8e46 commit 5bb8e15

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/request/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def getPage(**kwargs):
213213
code = e.code
214214
status = e.msg
215215

216-
debugMsg = "got HTTP error code: %d" % code
216+
debugMsg = "got HTTP error code: %d (%s)" % (code, status)
217217
logger.debug(debugMsg)
218218

219219
except (urllib2.URLError, socket.error, socket.timeout, httplib.BadStatusLine), e:

xml/banner/cookie.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<root>
1010
<regexp value="ASPSESSIONID">
11-
<info technology="ASP" type="Windows" distrib="2000"/>
11+
<info technology="ASP" type="Windows" distrib="2000|2003"/>
1212
</regexp>
1313

1414
<regexp value="ASP\.NET_SessionId">

0 commit comments

Comments
 (0)