Skip to content

Commit

Permalink
rename urllib to fit selector
Browse files Browse the repository at this point in the history
  • Loading branch information
julsbreakdown committed Oct 19, 2022
1 parent e3acdee commit 56a3745
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mechanize/_urllib2_fork.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def has_proxy(self):
# has non-HTTPS proxy
return self.__r_host == self.__original

def get_origin_req_host(self):
def origin_req_host(self):
return self.origin_req_host

def is_unverifiable(self):
Expand Down Expand Up @@ -1053,7 +1053,6 @@ def get_authorization(self, req, chal):
entdig = self.get_entity_digest(req.get_data(), chal)
else:
entdig = None

try:
selector = req.get_selector()
except:
Expand Down

0 comments on commit 56a3745

Please sign in to comment.