Repository navigation
v0.1.1
Fixes wp http-proxy check inside WordPress installs older than 6.2. There WP-CLI uses the install's Requests 1.x, and the command failed with "WP-CLI returned an unexpected HTTP response." even though the request went through the proxy.
The README now explains how cURL's own handling of proxy environment variables, such as https_proxy and no_proxy, interacts with this package, and that wp package commands are not covered. wp help http-proxy now shows command descriptions.
Install:
wp package install ekamran/wp-cli-http-proxy-command:@stable
Updating from v0.1.0: if you installed with :@stable, wp package update keeps v0.1.0, because WP-CLI records the exact release it installed. Run the install command above again to move to v0.1.1.
Tested with WP-CLI 2.12.0 on PHP 7.2 and PHP 8.4, and WP-CLI nightly on PHP 8.5.