mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-03 04:14:43 +00:00
cleanup
This commit is contained in:
parent
9a124513e3
commit
1590ab6240
1 changed files with 1 additions and 3 deletions
|
|
@ -252,11 +252,9 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
|
|||
self.aliases.append(newurl)
|
||||
# XXX on redirect errors this is not printed
|
||||
self.add_info(_("Redirected to `%(url)s'.") % {'url': newurl})
|
||||
|
||||
# Reset extern and recalculate
|
||||
self.extern = None
|
||||
self.set_extern(newurl)
|
||||
|
||||
self.urlparts = strformat.url_unicode_split(newurl)
|
||||
self.build_url_parts()
|
||||
self.url_connection = response
|
||||
|
|
@ -266,7 +264,7 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
|
|||
self._add_ssl_info()
|
||||
self._add_response_info()
|
||||
if self.is_redirect():
|
||||
# run plugins for old connection
|
||||
# run connection plugins for old connection
|
||||
self.aggregate.plugin_manager.run_connection_plugins(self)
|
||||
|
||||
def getheader (self, name, default=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue