macOS
brew install h2clocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für h2c in AI-Agent-Workflows.
Installation
brew install h2clocal Homebrew formula metadata
Überblick
Headers 2 curl
Verlauf
h2c is a small curl-adjacent utility whose name means headers to curl. It reads an HTTP request, including headers and body, and emits an equivalent curl command line.
The official repository was created under the curl GitHub organization in August 2017. Its README defines the project narrowly: given a set of HTTP request headers, h2c outputs the curl command line needed to generate that request.
Adoption is intentionally modest and developer-tool focused. The project has an official curl.se web surface plus a Homebrew formula, making it easy for curl users to install when they need to translate captured HTTP requests into repeatable CLI invocations.
The README examples cover HTTP/1.1 and HTTP/2 requests, PUT bodies, multipart form uploads, cookies, user agents, and Basic authentication. The tool is useful when moving from a raw request captured in logs, browser tools, or documentation into a shell-friendly curl command.
h2c is package-nerd smallness in pure form: a single-purpose converter maintained near curl, valuable because it removes quoting and flag-selection friction without becoming a general HTTP client.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
h2c | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:h2c |
|---|---|
| Version | 1.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/h2c |
| Homepage | https://curl.se/h2c/ |
| Repository | https://github.com/curl/h2c |
| Upstream-Dokumentation | https://curl.se/h2c |
| Lizenz | MIT |
| Quellarchiv | https://github.com/curl/h2c/archive/refs/tags/1.0.tar.gz |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | h2c |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.