Skip to content

Commit 200181f

Browse files
committed
SimpleChatTC:SimpleProxy: Update readme wrt mimicing client req
ie during proxying
1 parent 9441798 commit 200181f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/server/public_simplechat/readme.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,11 @@ in a simple minded manner by dropping head block as well as all scripts/styles/f
374374
before enabling fetch web related tool calls.
375375
* The bundled simple proxy can be found at
376376
* tools/server/public_simplechat/local.tools/simpleproxy.py
377-
* it provides for a basic white list of allowed domains to access or so
377+
* it provides for a basic white list of allowed domains to access, to an extent
378+
* it tries to mimic the client/browser making the request to it by propogating header entries like
379+
user-agent, accept and accept-language from the got request to the generated request during proxying
380+
so that websites will hopefully respect the request rather than blindly rejecting it as coming from
381+
a non-browser entity.
378382

379383

380384
#### Extending with new tools

0 commit comments

Comments
 (0)