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;