anchor.diff:              send_json(Req, 200, Headers, couch_doc:to_json_obj(Doc, Options));
           true ->
               Boundary = couch_uuids:random(),
  -            JsonBytes = ?JSON_ENCODE(couch_doc:to_json_obj(Doc, 
  +            JsonBytes = ?JSON_ENCODE(couch_doc:to_json_obj(Doc,
                       [attachments, follows, att_encoding_info | Options])),
               {ContentType, Len} = couch_doc:len_doc_to_multi_part_stream(
                       Boundary,JsonBytes, Atts, true),
  
positive.code:     OuterBoundary = couch_uuids:random(),
      InnerBoundary = couch_uuids:random(),
      Options = [attachments, follows, att_encoding_info | Options1],
      CType = {"Content-Type", 
          "multipart/mixed; boundary=\"" ++ ?b2l(OuterBoundary) ++ "\""},
      {ok, Resp} = start_chunked_response(Req, 200, [CType]),
      couch_httpd:send_chunk(Resp, <<"--", OuterBoundary/binary>>),
  
negative.code:                     ?LOG_INFO("Batch doc error (~s): ~p",[DocId, Error])
                  end
              end),
  
          send_json(Req, 202, [], {[
              {ok, true},
              {id, DocId}
  