mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #283 from rgieseke/develop
Display full URL when logging.
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user