No way to force local HTTP requests through proxy
|Reported by:||johnbillion||Owned by:||dd32|
The HTTP API will send requests through a proxy server if the WP_PROXY_HOST and WP_PROXY_POST constants are defined.
If the host of an HTTP request is the same as the current host (as is the case when a WP-cron request is spawned) then the request won't be sent through the proxy and there is no way to override this (see trunk/wp-includes/class-http.php@20171#L1346).
I use a proxy for logging and debugging HTTP requests and it's not possible for me to send local HTTP requests through the proxy.