projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8d1d1
)
Display full URL when logging.
author
Robert Gieseke
<robert.gieseke@gmail.com>
Sun, 20 Nov 2011 09:14:51 +0000
(10:14 +0100)
committer
Robert Gieseke
<robert.gieseke@gmail.com>
Sun, 20 Nov 2011 09:14:51 +0000
(10:14 +0100)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index 0be3e896290853c14cf79233e39109980f9ccef5..ab121b967de0f804979a4b5b552914b0142d8d3d 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-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