Permalink
Browse files

Send attachment encoding information

BugzID: 13778
  • Loading branch information...
1 parent da8b347 commit 0bcf175cd7c250e4e037efefb82bf875f8137a53 Robert Newson committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/chttpd_db.erl
View
@@ -705,7 +705,7 @@ send_doc_efficiently(Req, #doc{atts=Atts}=Doc, Headers, Options) ->
true ->
Boundary = couch_uuids:random(),
JsonBytes = ?JSON_ENCODE(couch_doc:to_json_obj(Doc,
- [attachments, follows|Options])),
+ [attachments, follows, att_encoding_info | Options])),
{ContentType, Len} = couch_doc:len_doc_to_multi_part_stream(
Boundary,JsonBytes, Atts, true),
CType = {<<"Content-Type">>, ContentType},

0 comments on commit 0bcf175

Please sign in to comment.