aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Peter Wang <novalazy@gmail.com>2012-12-16 10:24:23 +1100
committerGravatar David Bremner <bremner@debian.org>2012-12-17 09:10:35 -0400
commitb96ba6326af442edfdad59e5e42ea42892cd3c6b (patch)
treea41fa759c3db924e080b30671983ec7a3a883a26 /test
parent35860e00d1a1f1c4116b03a23c2bbeb0089aa4a1 (diff)
show: indicate length, encoding of omitted body content
If a leaf part's body content is omitted, return the encoded length and transfer encoding in --format=json output. This information may be used by the consumer, e.g. to decide whether to download a large attachment over a slow link. Returning the _encoded_ content length is more efficient than returning the _decoded_ content length. Returning the transfer encoding allows the consumer to estimate the decoded content length.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions