/* make compile on Win32 */
#include "php_streams.h"
#include "ext/standard/md5.h"
+#include "phpstr/phpstr.h"
extern zend_module_entry http_module_entry;
#define phpext_http_ptr &http_module_entry
#ifdef HTTP_HAVE_CURL
-#include "phpstr/phpstr.h"
-
#ifdef PHP_WIN32
# include <winsock2.h>
#endif
} http_request_object;
typedef enum {
- HTTP_GET,
+ HTTP_GET = 1,
HTTP_HEAD,
HTTP_POST,
} http_request_method;