SimpleChatTC:SimpleProxy: Update readme wrt mimicing client req

ie during proxying
This commit is contained in:
hanishkvc 2025-10-24 01:31:30 +05:30
parent 74226a0992
commit 90d232dc4a
1 changed files with 5 additions and 1 deletions

View File

@ -374,7 +374,11 @@ in a simple minded manner by dropping head block as well as all scripts/styles/f
before enabling fetch web related tool calls. before enabling fetch web related tool calls.
* The bundled simple proxy can be found at * The bundled simple proxy can be found at
* tools/server/public_simplechat/local.tools/simpleproxy.py * tools/server/public_simplechat/local.tools/simpleproxy.py
* it provides for a basic white list of allowed domains to access or so * it provides for a basic white list of allowed domains to access, to an extent
* it tries to mimic the client/browser making the request to it by propogating header entries like
user-agent, accept and accept-language from the got request to the generated request during proxying
so that websites will hopefully respect the request rather than blindly rejecting it as coming from
a non-browser entity.
#### Extending with new tools #### Extending with new tools