</lead>
<date>2015-07-09</date>
<version>
- <release>2.5.0</release>
+ <release>2.5.1dev</release>
<api>2.5.0</api>
</version>
<stability>
- <release>stable</release>
+ <release>beta</release>
<api>stable</api>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-+ Added RFC5988 (Web Linking) support to http\Params
-+ Added http\Url::SANITIZE_PATH to default flags of http\Url::mod()
-* Fixed overly aggressive response caching to only consider 2xx cachable
+* Fixed VC11 build (Jan Erhardt)
]]></notes>
<contents>
<dir name="/">
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_PECL_HTTP_VERSION "2.5.0"
+#define PHP_PECL_HTTP_VERSION "2.5.1dev"
extern zend_module_entry http_module_entry;
#define phpext_http_ptr &http_module_entry
static zend_bool php_http_env_response_is_cacheable(php_http_env_response_t *r, php_http_message_t *request)
{
- TSRMLS_FETCH_FROM_CTX(r->ts);
long status = r->ops->get_status(r);
+ TSRMLS_FETCH_FROM_CTX(r->ts);
if (status && status / 100 != 2) {
return 0;