localshred/protobuf — pull request #161 by liveh2o (2014-02-13 02:36:47+00:00)
Title: Extract response encoding into a middleware

Invoke the stack, encode the response and store it in the env. If an encoding error occurs, a generic Protobuf error is encoded and returned.