This commit is contained in:
Ian Cordasco
2013-10-11 20:42:52 -05:00
parent df7aece2c8
commit 6632fb87c0
+1 -1
View File
@@ -49,7 +49,7 @@ class MockRequest(object):
# header
if not self._r.headers.get('Host'):
return self._r.url
# If they did set it, retrieve it and reconstruct the expected doain
# If they did set it, retrieve it and reconstruct the expected domain
host = self._r.headers['Host']
parsed = urlparse(self._r.url)
# Reconstruct the URL as we expect it