commit | 0c944766d97d5a0dc8fba4913d10585ded8f795a | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Thu Apr 04 11:01:42 2013 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu Apr 04 11:18:33 2013 -0700 |
tree | 198e3981422164c5e79361d0a9f2979ae2cb5aeb | |
parent | 86cace8068bd0f06c3aa589e26e868fbee536e40 [diff] |
Factor out a method for setting common non-HTML (API) headers Results in setting Content-Disposition: Attachment on text errors, which was an oversight, since there is no guarantee text passed to that method is not user-provided. Change-Id: Ifb5d6991e77075443cb4b4224f7ae028d02a4a1d