Retrieve live web search results and show chat diagnostics
This commit is contained in:
@@ -121,6 +121,12 @@ class Handler(BaseHTTPRequestHandler):
|
||||
{'url': 'file:///etc/hosts', 'title': 'Invalid'},
|
||||
{'url': page, 'title': 'Duplicate'}]})
|
||||
return
|
||||
if self.path == '/follow-root':
|
||||
self.reply(200, b'<h1>Index</h1><a href="/follow-detail">Tides documentation</a>', 'text/html')
|
||||
return
|
||||
if self.path == '/follow-detail':
|
||||
self.reply(200, b'<p>The tides documentation was followed.</p>', 'text/html')
|
||||
return
|
||||
if self.path == '/article':
|
||||
self.reply(200, b'<h1>Moon and tides</h1><script>ignored()</script><p>Test passage.</p>', 'text/html')
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user