mirror of https://gitlab.com/bashrc2/epicyon
Comment
parent
cb069bbed5
commit
544a5644b1
|
@ -260,6 +260,8 @@ def daemon_http_get(self) -> None:
|
||||||
return
|
return
|
||||||
|
|
||||||
# headers used by LLM scrapers
|
# headers used by LLM scrapers
|
||||||
|
# oai-host-hash requests come from Microsoft Corporation,
|
||||||
|
# which has a long term partnership with OpenAI
|
||||||
if 'oai-host-hash' in self.headers:
|
if 'oai-host-hash' in self.headers:
|
||||||
msg = html_poisoned(self.server.dictionary)
|
msg = html_poisoned(self.server.dictionary)
|
||||||
msg = msg.encode('utf-8')
|
msg = msg.encode('utf-8')
|
||||||
|
|
Loading…
Reference in New Issue