diff --git a/src/Curl/Curl.php b/src/Curl/Curl.php index d149ae5..9b85a2c 100644 --- a/src/Curl/Curl.php +++ b/src/Curl/Curl.php @@ -699,20 +699,20 @@ class Curl extends BaseCurl * @param $url * @param $data * @param $follow_303_with_post - * If true, will cause 303 redirections to be followed using a POST request - * (default: false). - * Notes: - * - Redirections are only followed if the CURLOPT_FOLLOWLOCATION option is set - * to true. - * - According to the HTTP specs (see [1]), a 303 redirection should be followed - * using the GET method. 301 and 302 must not. - * - In order to force a 303 redirection to be performed using the same method, - * the underlying cURL object must be set in a special state (the - * CURLOPT_CUSTOMREQUEST option must be set to the method to use after the - * redirection). Due to a limitation of the cURL extension of PHP < 5.5.11 ([2], - * [3]), it is not possible to reset this option. Using these PHP engines, it is - * therefore impossible to restore this behavior on an existing php-curl-class - * Curl object. + * If true, will cause 303 redirections to be followed using a POST request + * (default: false). + * Notes: + * - Redirections are only followed if the CURLOPT_FOLLOWLOCATION option is set + * to true. + * - According to the HTTP specs (see [1]), a 303 redirection should be followed + * using the GET method. 301 and 302 must not. + * - In order to force a 303 redirection to be performed using the same method, + * the underlying cURL object must be set in a special state (the + * CURLOPT_CUSTOMREQUEST option must be set to the method to use after the + * redirection). Due to a limitation of the cURL extension of PHP < 5.5.11 ([2], + * [3]), it is not possible to reset this option. Using these PHP engines, it is + * therefore impossible to restore this behavior on an existing php-curl-class + * Curl object. * @return mixed Returns the value provided by exec. * * [1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2 diff --git a/src/Curl/MultiCurl.php b/src/Curl/MultiCurl.php index 6fc1f87..d4a3e76 100644 --- a/src/Curl/MultiCurl.php +++ b/src/Curl/MultiCurl.php @@ -241,9 +241,9 @@ class MultiCurl extends BaseCurl * @param $url * @param $data * @param $follow_303_with_post - * If true, will cause 303 redirections to be followed using a POST request - * (default: false). Note: Redirections are only followed if the - * CURLOPT_FOLLOWLOCATION option is set to true. + * If true, will cause 303 redirections to be followed using a POST request + * (default: false). Note: Redirections are only followed if the + * CURLOPT_FOLLOWLOCATION option is set to true. * @return object */ public function addPost($url, $data = '', $follow_303_with_post = false) @@ -499,7 +499,7 @@ class MultiCurl extends BaseCurl * used for the request. * * @param $proxies array - A list of HTTP proxies to tunnel requests - * through. May include port number. + * through. May include port number. */ public function setProxies($proxies) {