I didn't see anything in the spec about the payloads needing to be text, so I didn't want to arbitrarily limit what the header values could be; being raw bytes allows e.g. a BinaryProtocol struct to be encoded in there if desired. In fact, at Reddit we actually do send [an encoded struct](https://github.com/reddit/baseplate/blob/fadac2a6ca278aedc4112e395538ae795b0c33e5/baseplate/thrift/baseplate.thrift#L70-L74) in our headers right now.
[ Full content available at: https://github.com/apache/thrift/pull/1583 ] This message was relayed via gitbox.apache.org for [email protected]
