Files
vex1023 3dd1eacfde pcurl regression suite (35 cases) + 3 bug fixes
Fixes found by the suite:
- timeout error mapping: 'operation timed out' did not match 'timeout' -> exit 7 instead of 28
- invalid --impersonate value now exits 2 (usage error), was falling into connect-error 7
- -F multipart: primp files expects {field: path}; plain form fields via data=
- -j/--json implies POST even with empty body (curl modern semantics)
- -I/--head implies -i (headers shown), matching curl

tests/pcurl-regression.sh: 35 checks covering GET/POST/form/JSON/multipart,
headers, redirects, methods, --fail, TLS, fingerprint UA, env proxy,
error exit codes, flag combining.
2026-10-01 11:13:12 +08:00
..