iliaa Sun Feb 2 15:56:51 2003 EDT
Modified files:
/php4/ext/curl interface.c
Log:
Gave the user the ability to specify encoding of the request.
Patch by [EMAIL PROTECTED]
Index: php4/ext/curl/interface.c
diff -u php4/ext/curl/interface.c:1.5 php4/ext/curl/interface.c:1.6
--- php4/ext/curl/interface.c:1.5 Sat Jan 18 16:31:04 2003
+++ php4/ext/curl/interface.c Sun Feb 2 15:56:51 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: interface.c,v 1.5 2003/01/18 21:31:04 iliaa Exp $ */
+/* $Id: interface.c,v 1.6 2003/02/02 20:56:51 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -202,6 +202,7 @@
REGISTER_CURL_CONSTANT(CURLOPT_SSLENGINE);
REGISTER_CURL_CONSTANT(CURLOPT_SSLENGINE_DEFAULT);
REGISTER_CURL_CONSTANT(CURLOPT_CRLF);
+ REGISTER_CURL_CONSTANT(CURLOPT_ENCODING);
/* Constants effecting the way CURLOPT_CLOSEPOLICY works */
REGISTER_CURL_CONSTANT(CURLCLOSEPOLICY_LEAST_RECENTLY_USED);
@@ -805,7 +806,8 @@
case CURLOPT_SSLKEYTYPE:
case CURLOPT_SSLKEYPASSWD:
case CURLOPT_SSLENGINE:
- case CURLOPT_SSLENGINE_DEFAULT: {
+ case CURLOPT_SSLENGINE_DEFAULT:
+ case CURLOPT_ENCODING: {
char *copystr = NULL;
convert_to_string_ex(zvalue);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php