Changes between Initial Version and Version 1 of Ticket #16855, comment 11
- Timestamp:
- 03/18/2011 06:23:04 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16855, comment 11
initial v1 29 29 It is totally inappropriate to prevent redirects and only perform the request w/o automatic handling. 30 30 31 Instead of setting that value to 0 (which is highly undefined, especially with the hotfix for cUrlin [12745]) you must instead propery interfere with cUrl request context options and set your suggested value manually if you don't want to let WP_Http_Curl follow redirect locations:31 Instead of setting that value to 0 (which is highly undefined, especially with the hotfix for that argument in [12745]) you must instead propery interfere with cUrl request context options and set your suggested value manually if you don't want to let WP_Http_Curl follow redirect locations: 32 32 33 33 curl_setopt( $handle, CURLOPT_FOLLOWLOCATION, false );