Show More
@@ -298,8 +298,7 b' class httprepository(remoterepository):' | |||||
298 | cu = "%s%s" % (self._url, qs) |
|
298 | cu = "%s%s" % (self._url, qs) | |
299 | try: |
|
299 | try: | |
300 | if data: |
|
300 | if data: | |
301 | self.ui.debug(_("sending %s bytes\n") % |
|
301 | self.ui.debug(_("sending %s bytes\n") % len(data)) | |
302 | headers.get('content-length', 'X')) |
|
|||
303 | resp = urllib2.urlopen(request(cu, data, headers)) |
|
302 | resp = urllib2.urlopen(request(cu, data, headers)) | |
304 | except urllib2.HTTPError, inst: |
|
303 | except urllib2.HTTPError, inst: | |
305 | if inst.code == 401: |
|
304 | if inst.code == 401: |
General Comments 0
You need to be logged in to leave comments.
Login now