yaf icon indicating copy to clipboard operation
yaf copied to clipboard

yaf_response_http missing methods implementation

Open hayate opened this issue 11 years ago • 1 comments

Following yaf_response methods are missing implementation in yaf_response_http:

/** {{{ proto public Yaf_Response_Abstract::setHeader($name, $value, $replace = 0)
*/
PHP_METHOD(yaf_response, setHeader) {
RETURN_FALSE;
}
/* }}} */

/** {{{ proto protected Yaf_Response_Abstract::setAllHeaders(void)
*/
PHP_METHOD(yaf_response, setAllHeaders) {
RETURN_FALSE;
}
/* }}} */

/** {{{ proto public Yaf_Response_Abstract::getHeader(void)
*/
PHP_METHOD(yaf_response, getHeader) {
RETURN_NULL();
}
/* }}} */

/** {{{ proto public Yaf_Response_Abstract::clearHeaders(void)
*/
PHP_METHOD(yaf_response, clearHeaders) {
RETURN_FALSE;
}

hayate avatar Sep 16 '13 00:09 hayate

的确漏了 用最新版吧

letwang avatar Jun 12 '19 02:06 letwang