mirror of https://gitlab.com/bashrc2/epicyon
Capital
parent
a85767ad58
commit
7e4eaab3cb
|
@ -480,7 +480,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
return False
|
||||
if self.headers['Accept'].startswith('*'):
|
||||
if self.headers.get('User-Agent'):
|
||||
if 'Elinks' in self.headers['User-Agent'] or \
|
||||
if 'ELinks' in self.headers['User-Agent'] or \
|
||||
'Lynx' in self.headers['User-Agent']:
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue