Pure-MoonBit curl 8.22 HTTP/HTTPS profile, version 0.2.2. See thesupport record for platform verification andexact-version publication evidence.
Repeated literal -b values join with ; , matching the pinned curl 8.22request bytes. This differs from the earlier macOS curl 8.7 comparison.
The command streams HTTP/HTTPS responses to stdout or files and supports:
-s/-S, -f, -o, -O/-J, -L, -I, repeated -H, and all documentedHTTP methods through -X (GET, HEAD, POST, PUT, DELETE, CONNECT,OPTIONS, TRACE, and PATCH);
ordered -d, --data-raw, --data-binary, and --data-urlencode values,including their documented @file, empty-value, and binary behavior;
-u/--user user:password Basic authentication; -b/--cookie literal cookievalues or Netscape input jars, and -c/--cookie-jar output jars. A shared jarprocesses every response, including redirects, and matches domain, path,expiry and Secure attributes before sending cookies.
Redirect behavior distinguishes ordinary data from upload streams. An explicit-X method remains explicit after a redirect; 301/302/303 can still discard a--data-* body as curl does, while 307/308 and upload streams preserve theirbody. Cross-origin redirects remove authorization headers.
--max-redirs -1 is unlimited; zero disables followed hops. Zero for--connect-timeout, --max-time, and --retry-max-time selects the documenteddisabled/default behavior, while --idle-timeout must be positive. Timer inputis bounded by the runtime millisecond range.
Network authorization belongs to the caller or host. The command does notembed an allowlist.
This remains a bounded HTTP transfer profile, not full curl compatibility.Non-HTTP protocols, HTTP/2 negotiation, config files, non-Basic authentication,interactive password prompts, exact native progress and diagnostic bytes,and the rest of curl's option surface are not claimed. Cookie files use theNetscape format; importing raw Set-Cookie header files, a public-suffix database,IDNA, and curl's HTTP-localhost Secure-cookie exception are not implemented.These are command implementation gaps, not limitations of async's publiccookie parser. Like curl, cookie-jar write failures do not change the transferexit status (verbose-mode warnings are not implemented).
Version 0.2.1 supports a custom -H 'Cookie: ...' together withmatching stored cookies as two separate request fields, with stored cookiesfirst. This correction is included in 0.2.1; historical 0.2.0 is unchanged. Literal -b cookiescan be combined with stored cookies and preserve curl's ordering. Explicitcustom Cookie headers and literal -b data are scoped to the initial origin,matching curl 8.22. Jar cookies are selected again for thedestination.
Standalone --version prints exactly curl 0.2.2 followed by onenewline. Standalone --help starts with Usage: curl, lists bothmetadata options, and ends with a newline. Both write to stdout, leave stdinunread, and exit with status 0. Exact-version publication and verificationremain recorded separately in the support record.