NigFossil Simple tools for lasting software

NigFossil / Documentation Tool / Carnelian

Documentation Tool / Carnelian

Unified Platform for Document & Fossil Repository Management

The "test-httpmsg" command:

Usage: fossil test-httpmsg ?OPTIONS? URL ?PAYLOAD? ?OUTPUT?

Send an HTTP message to URL and get the reply. PAYLOAD is a file containing the payload, or "-" to read payload from standard input. A POST message is sent if PAYLOAD is specified and is non-empty. If PAYLOAD is omitted or is an empty file, then a GET message is sent.

If a second filename (OUTPUT) is given after PAYLOAD, then the reply is written into that second file instead of being written on standard output. Use the "--out OUTPUT" option to specify an output file for a GET request where there is no PAYLOAD.

Options:

--compress
Use ZLIB compression on the payload
--mimetype TYPE
Mimetype of the payload
--no-cert-verify
Disable TLS cert verification
--out FILE
Store the reply in FILE
--subpath PATH
HTTP request path for ssh: and file: URLs
-v
Verbose output
--xfer
PAYLOAD in a Fossil xfer protocol message

Clone

Clone this repository with Fossil:

fossil clone https://1wt.in/dot/carnelian carnelian.fossil