commit | 45b0ed16337d5c8dce2f50d679d0c1c8a5093127 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Thu May 09 11:54:17 2013 -0700 |
committer | Shawn Pearce <sop@google.com> | Fri May 10 09:22:49 2013 -0700 |
tree | 6d012f75fcd7848f3c4634d1df9334dfe15d17fe | |
parent | a523bd8c00402103a26da3cd209caf9cbf94e461 [diff] |
Move base64 response encoding into BinaryResult Make it easy for any RestApiView to return binary data within a base64 wrapper by marking a BinaryResult with base64() before it is given to RestApiServlet. The servlet will process the base64 wrapping before gzip encoding, which may save on transfer cost. Change-Id: I5ed7b8cb2b034b60654cc2574e627159b11a4f27