fixed: lithium behavior of writing headers of empty response after already sended headers