</lead>
<date>2012-03-16</date>
<version>
- <release>2.0.0dev8</release>
+ <release>2.0.0dev</release>
<api>2.0.0</api>
</version>
<stability>
<file role="src" name="php_http_version.c"/>
<file role="src" name="php_http_version.h"/>
</dir>
+ <dir name="tests">
+ <file role="test" name="skipif.inc"/>
+ <dir name="HttpRequestPool_cache" />
+ <dir name="data">
+ <file role="test" name="message_r_multipart_put.txt"/>
+ <file role="test" name="message_rr_empty.txt"/>
+ <file role="test" name="message_rr_empty_chunked.txt"/>
+ <file role="test" name="message_rr_empty_gzip.txt"/>
+ <file role="test" name="message_rr_helloworld_chunked.txt"/>
+ <file role="test" name="urls.txt"/>
+ </dir>
+ <file role="test" name="envrequestbody001.phpt"/>
+ <file role="test" name="envrequestheader001.phpt"/>
+ <file role="test" name="envresponseheader001.phpt"/>
+ <file role="test" name="envresponseranges001.phpt"/>
+ <file role="test" name="etag001.phpt"/>
+ <file role="test" name="factory.phpt"/>
+ <file role="test" name="filterchunked.phpt"/>
+ <file role="test" name="filterzlib.phpt"/>
+ <file role="test" name="info_001.phpt"/>
+ <file role="test" name="message001.phpt"/>
+ <file role="test" name="message002.phpt"/>
+ <file role="test" name="message003.phpt"/>
+ <file role="test" name="negotiate001.phpt"/>
+ <file role="test" name="params001.phpt"/>
+ <file role="test" name="persistenthandles001.phpt"/>
+ <file role="test" name="phpunit.phpt"/>
+ <file role="test" name="propertyproxy001.phpt"/>
+ <file role="test" name="querystring_001.phpt"/>
+ <file role="test" name="requestpool001.phpt"/>
+ <file role="test" name="response001.phpt"/>
+ <file role="test" name="response002.phpt"/>
+ <file role="test" name="response003.phpt"/>
+ <file role="test" name="url001.phpt"/>
+ </dir>
+ <dir name="phpunit">
+ <file role="test" name="CookieTest.php"/>
+ <file role="test" name="EncodingTest.php"/>
+ <file role="test" name="HeaderTest.php"/>
+ <file role="test" name="MessageBodyTest.php"/>
+ <file role="test" name="ObjectTest.php"/>
+ <file role="test" name="ParamsTest.php"/>
+ <file role="test" name="QueryStringTest.php"/>
+ <file role="test" name="RequestTest.php"/>
+ <file role="test" name="UrlTest.php"/>
+ </dir>
</contents>
<dependencies>
<required>
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_HTTP_EXT_VERSION "2.0.0dev8"
+#define PHP_HTTP_EXT_VERSION "2.0.0dev"
extern zend_module_entry http_module_entry;
#define phpext_http_ptr &http_module_entry
#define PHP_HTTP_ENV_REQUEST_ME(method, visibility) PHP_ME(HttpEnvRequest, method, PHP_HTTP_ARGS(HttpEnvRequest, method), visibility)
PHP_HTTP_EMPTY_ARGS(__construct);
-PHP_HTTP_EMPTY_ARGS(getPost);
+PHP_HTTP_EMPTY_ARGS(getForm);
PHP_HTTP_EMPTY_ARGS(getQuery);
PHP_HTTP_EMPTY_ARGS(getFiles);
zend_function_entry php_http_env_request_method_entry[] = {
PHP_HTTP_ENV_REQUEST_ME(__construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
- PHP_HTTP_ENV_REQUEST_ME(getPost, ZEND_ACC_PUBLIC)
+ PHP_HTTP_ENV_REQUEST_ME(getForm, ZEND_ACC_PUBLIC)
PHP_HTTP_ENV_REQUEST_ME(getQuery, ZEND_ACC_PUBLIC)
PHP_HTTP_ENV_REQUEST_ME(getFiles, ZEND_ACC_PUBLIC)
MAKE_STD_ZVAL(zpost);
object_init_ex(zpost, php_http_querystring_class_entry);
if (SUCCESS == php_http_querystring_ctor(zpost, zsg TSRMLS_CC)) {
- zend_update_property(php_http_env_request_class_entry, getThis(), ZEND_STRL("post"), zpost TSRMLS_CC);
+ zend_update_property(php_http_env_request_class_entry, getThis(), ZEND_STRL("form"), zpost TSRMLS_CC);
}
zval_ptr_dtor(&zpost);
}
} end_error_handling();
}
-PHP_METHOD(HttpEnvRequest, getPost)
+PHP_METHOD(HttpEnvRequest, getForm)
{
if (SUCCESS == zend_parse_parameters_none()) {
- RETURN_PROP(php_http_env_request_class_entry, "post");
+ RETURN_PROP(php_http_env_request_class_entry, "form");
}
}
{
PHP_HTTP_REGISTER_CLASS(http\\Env, Request, http_env_request, php_http_message_class_entry, 0);
zend_declare_property_null(php_http_env_request_class_entry, ZEND_STRL("query"), ZEND_ACC_PROTECTED TSRMLS_CC);
- zend_declare_property_null(php_http_env_request_class_entry, ZEND_STRL("post"), ZEND_ACC_PROTECTED TSRMLS_CC);
+ zend_declare_property_null(php_http_env_request_class_entry, ZEND_STRL("form"), ZEND_ACC_PROTECTED TSRMLS_CC);
zend_declare_property_null(php_http_env_request_class_entry, ZEND_STRL("files"), ZEND_ACC_PROTECTED TSRMLS_CC);
return SUCCESS;
extern zend_function_entry php_http_env_request_method_entry[];
PHP_METHOD(HttpEnvRequest, __construct);
-PHP_METHOD(HttpEnvRequest, getPost);
+PHP_METHOD(HttpEnvRequest, getForm);
PHP_METHOD(HttpEnvRequest, getQuery);
PHP_METHOD(HttpEnvRequest, getFiles);
array(0) {
}
}
- ["post":protected]=>
+ ["form":protected]=>
object(http\QueryString)#3 (2) {
["errorHandling":protected]=>
NULL