Retrieve live web search results and show chat diagnostics

This commit is contained in:
Mark Gregory
2026-11-16 16:52:21 +00:00
parent 0f4b6b03e4
commit de18d95741
8 changed files with 181 additions and 52 deletions
+6
View File
@@ -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