Display full URL when logging.

This commit is contained in:
Robert Gieseke
2011-11-20 10:14:51 +01:00
parent 9d8d1d14f1
commit 8ae4b440e3
+4 -4
View File
@@ -344,15 +344,15 @@ class Request(object):
already been sent.
"""
# Build the URL
url = self.full_url
# Logging
if self.config.get('verbose'):
self.config.get('verbose').write('%s %s %s\n' % (
datetime.now().isoformat(), self.method, self.url
datetime.now().isoformat(), self.method, url
))
# Build the URL
url = self.full_url
# Nottin' on you.
body = None
content_type = None