rails/rails — pull request #6082 by brainopia (2012-04-30 13:10:45+00:00)
Title: Stream cookies only if needed

Currently if cookie is set to the same value then it will be streamed back to client. But it's needed only if there is expires option. Also when deleting unexisting cookie the deletion will be streamed back also.

I've improved these edge cases and provided a couple of small improvements of code nearby.