Merge pull request #283 from rgieseke/develop

Display full URL when logging.
This commit is contained in:
Kenneth Reitz
2011-11-26 07:10:08 -08:00
+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