ofhttp(1)
π ofhttp β the manual page, but make it make sense π
okay bestie, listen up β this is the manual for ofhttp, a general commands manual situation, and we are gonna get you fluent in it. no gatekeeping, no cap. π«Ά
πΈ NAME πΈ
ofhttp β perform HTTP and HTTPS requests and download files β¨
that's it. that's the whole job. it does HTTP, it does HTTPS, it downloads your little files. iconic behaviour, honestly.
π SYNOPSIS π
ofhttp [options] iri1 [iri2 ...]
so you're giving it some [options] (all optional, she's flexible π
) and then one or more iri1, iri2, ... β those are your IRIs, aka the things you want to fetch. plural. she can multitask. π
π¦ DESCRIPTION π¦
lowkey the whole vibe is this: ofhttp is a program to perform HTTP and HTTPS requests and download files. that's the mission statement. that's the brand. she requests, she downloads, she slays. π
β¨ OPTIONS β¨
here's the full menu, no skips, no "you don't need to know that one" β we're covering everything fr fr:
-b file,--body=fileβ tell her which file to send as the body (and yes,-means standard input, because of course it does π).-c,--continueβ continue download of existing file. she picks up where she left off, like a true main character. π§-f,--forceβ force / overwrite existing file. she is NOT asking permission. she is NOT checking in. she's overwriting. π«£-h,--helpβ show the help. the classic. when in doubt,-hit out. π-H header,--header=headerβ add a header (e.g.X-Foo:Bar). stack as many as your heart desires. πΈ-m method,--method=methodβ set the method of the HTTP request. GET, POST, whatever she's feeling today. π-o file,--output=fileβ specify the output file name. you name it, she writes it. π-O,--detect-filenameβ do aHEADrequest to detect the file name. she peeks at the headers first, like a detective with great hair. π-P proxy,--proxy=proxyβ specify SOCKS5 proxy. yes, a SOCKS5 proxy specifically. route that traffic, bestie. π£οΈ-q,--quietβ quiet mode (no output, except errors). she's silent, but the errors still speak. π-v,--verboseβ verbose mode (print headers). she tells you EVERYTHING. oversharing as a service. π£οΈ--insecureβ ignore TLS errors and allow insecure redirects.
bestie. π¨ TLS errors are being IGNORED here, and insecure redirects are ALLOWED. that is exactly as spicy as it sounds. do not do this casually. this is a "I know exactly what I'm doing" flag, not a "teehee" flag. π
--ignore-statusβ ignore HTTP status code. the404? the500? she simply does not perceive them. π
π« EXAMPLES π«
real scenarios, real commands, all of them copy-paste-able, character for character, because I love you:
download https://example.com/testfile.bin:
ofhttp https://example.com/testfile.bin
download https://example.com/testfile.bin via Tor:
ofhttp -P 127.0.0.1:9050 https://example.com/testfile.bin
send a POST request to an endpoint expecting JSON and only print the response:
echo '{"a":"b"}' | ofhttp -mPOST -b- -qo- https://example.com/json
look at that third one. echo piping JSON straight into her, -mPOST to set the method, -b- so the body comes from standard input, -qo- for quiet mode with output going to - (standard output, bestie), and then the URL. chef's kiss. she ate. π₯π
ngl, the single most useful energy here: she does HTTP and HTTPS requests AND downloads files, and every one of those flags above is yours to mix and match. go be free. π¦
and that's the whole page, bestie π this was pulled from the ofhttp(1) manual page β the General Commands Manual, no version string or date in sight, so we're rolling with vibes and vibes alone. go forth, make requests, download files, and remember: --insecure is not a personality trait. mwah. π
β¨π
π¦ where this page comes from
- alpine 3.24: objfw-doc 1.5.7-r0 Β· LGPL-3.0-only
- epel 10: ofhttp 1.5.7-1.el10_3 Β· LGPL-3.0-only
- epel 9: ofhttp 1.5.7-1.el9 Β· LGPL-3.0-only
- fedora 43: ofhttp 1.5.7-1.fc43 Β· LGPL-3.0-only
- fedora 44: ofhttp 1.5.1-1.fc44 Β· LGPL-3.0-only
- fedora 44: ofhttp 1.5.7-1.fc44 Β· LGPL-3.0-only
- nixos 26.05: objfw 1.5.2
- nixpkgs unstable: objfw 1.5.7
- ubuntu resolute: ofhttp 1.4.4-1 Β· LGPL-3.0-only
- ubuntu stonking: ofhttp 1.5.7-1 Β· LGPL-3.0-only
- Copyright (c) 2008-2026 Jonathan Schleifer <js@nil.im>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms