projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
class has to extend HttpMessage
[m6w6/ext-http]
/
http_request_object.c
diff --git
a/http_request_object.c
b/http_request_object.c
index ead0870361dd25e9e278f7a0d658548a3d13c5c7..80d802f81ebcdc7cc4e1e1cb63fdce821461e2e2 100644
(file)
--- a/
http_request_object.c
+++ b/
http_request_object.c
@@
-12,10
+12,6
@@
/* $Id$ */
/* $Id$ */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#define HTTP_WANT_CURL
#include "php_http.h"
#define HTTP_WANT_CURL
#include "php_http.h"
@@
-982,11
+978,6
@@
PHP_METHOD(HttpRequest, setMethod)
RETURN_FALSE;
}
RETURN_FALSE;
}
- if (meth >= HTTP_GET && meth <= HTTP_PUT) {
- getObject(http_request_object, obj);
- curl_easy_setopt(obj->request->ch, CURLOPT_CUSTOMREQUEST, NULL);
- }
-
UPD_PROP(long, method, meth);
RETURN_TRUE;
}
UPD_PROP(long, method, meth);
RETURN_TRUE;
}