cphalcon icon indicating copy to clipboard operation
cphalcon copied to clipboard

Phalcon\Http\Response::setHeader() ignores the value '0'

Open nikolasha opened this issue 13 years ago • 2 comments

For example, this code does not sets the header:

Phalcon\Http\Response::setHeader('Content-Length', '0')

nikolasha avatar Feb 25 '13 13:02 nikolasha

@nikolasha Could you be so kind as to create a failing test for the component and submit a pull request? This way we know when it is fixed that it won't come back :)

Thanks!!

niden avatar Mar 02 '13 17:03 niden

This is already fixed in the 1.0.0 branch, thanks

ghost avatar Mar 03 '13 15:03 ghost