1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-05 18:13:17 +00:00

fshttp: add --dump curl for dumping HTTP requests as curl commands

This commit is contained in:
Nick Craig-Wood
2025-12-18 17:53:24 +00:00
parent f81cd7d279
commit b141a553be
4 changed files with 68 additions and 0 deletions

View File

@@ -3278,6 +3278,10 @@ The available flags are:
- `mapper` dumps the JSON blobs being sent to the program supplied with
`--metadata-mapper` and received from it. It can be useful for debugging
the metadata mapper interface.
- `curl` dumps the HTTP request as a `curl` command. Can be used with
the other HTTP debugging flags (e.g. `requests`, `bodies`). By
default the auth will be masked - use with `auth` to have the curl
commands with authentication too.
## Filtering