summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
authorThomas Keck <thomas@macbook.macbook>2010-03-12 22:25:13 +0100
committerThomas Keck <thomas@macbook.macbook>2010-03-12 22:25:13 +0100
commit101f17e7185383453e762ef836101d0c90f04564 (patch)
tree36131edf4a937d6ef7edd26fe1f508d4ffe26494 /proxy.py
parent83bb1f5ec48cd4d6f2a964322bd42bd42e23cfc0 (diff)
downloadmagicproxy-101f17e7185383453e762ef836101d0c90f04564.tar.gz
magicproxy-101f17e7185383453e762ef836101d0c90f04564.zip
urlunparese
Diffstat (limited to 'proxy.py')
-rwxr-xr-xproxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy.py b/proxy.py
index 4712ab2..5ccf3e0 100755
--- a/proxy.py
+++ b/proxy.py
@@ -77,7 +77,7 @@ class Fetcher(asynchat.async_chat):
self.reader.handle_incoming_http_header(self.http_header)
def __str__(self):
- return "<Fetcher proxy=%s url=%s range=%s" % (self.proxy, self.url, self.range)
+ return "<Fetcher proxy=%s url=%s range=%s" % (self.proxy, urlparse.urlunparse(self.url), self.range)
class MultipleProxyReader(object):
def __init__(self, channel, url, header, content_length):