This command can used for interactive debugging of web pages. Forexample, one can put a simple HTTP request in a file like this:
echo 'GET /timeline' >request.txt
Then run (in a debugger) a command like this:
fossil test-http <request.txt
This command is also used internally by the "ssh" sync protocol. Somespecial processing to support sync happens when this command is runand the SSH_CONNECTION environment variable is set. Use the --testoption on interactive sessions to avoid that special processing whenusing this command interactively over SSH. A better solution would beto use a different command for "ssh" sync, but we cannot do that withoutbreaking legacy.
Options:
- --csrf-safeN
- Set cgi_csrf_safe() to to return N
- --nobody
- Pretend to be user "nobody"
- --ssh-sim
- Pretend to be over an SSH connection
- --test
- Do not do special "sync" processing when operatingover an SSH link
- --th-trace
- Trace TH1 execution (for debugging purposes)
- --usercap
- CAP User capability string (Default: "sxy")