configuration

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@172 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2000-10-12 18:09:13 +00:00
parent a69fb2a6e2
commit 5b93a5bbdc

View file

@ -162,11 +162,8 @@ class HttpUrlData(UrlData):
if self.proxy:
path = urlparse.urlunparse(self.urlTuple)
else:
path = self.urlTuple[2]
if self.urlTuple[3]:
path = path + ";" + self.urlTuple[3]
if self.urlTuple[4]:
path = path + "?" + self.urlTuple[4]
path = urlparse.urlunparse(('', '', self.urlTuple[2],
self.urlTuple[3], self.urlTuple[4], ''))
self.urlConnection.putrequest(method, path)
self.urlConnection.putheader("Host", self.urlTuple[1])
if self.auth: