+/* {{{ STATUS http_get_response_headers(HashTable *) */
+PHP_HTTP_API STATUS _http_get_response_headers(HashTable *headers_ht TSRMLS_DC)
+{
+ STATUS status;
+ phpstr headers;
+
+ phpstr_init(&headers);
+ zend_llist_apply_with_argument(&SG(sapi_headers).headers, http_grab_response_headers, &headers TSRMLS_CC);
+ phpstr_fix(&headers);
+
+ status = http_parse_headers_ex(PHPSTR_VAL(&headers), headers_ht, 1);
+ phpstr_dtor(&headers);
+
+ return status;
+}
+/* }}} */
+