macOS
brew install h2clocal Homebrew formula metadata
brew / 順位 17873
h2c のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install h2clocal Homebrew formula metadata
概要
Headers 2 curl
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
h2c | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:h2c |
|---|---|
| バージョン | 1.0 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://curl.se/h2c/ |
| リポジトリ | https://github.com/curl/h2c |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.