anchor.diff:                      ?LOG_INFO("Batch doc error (~s): ~p",[DocId, Error])
                   end
               end),
  -            
  +
           send_json(Req, 202, [], {[
               {ok, true},
               {id, DocId}
  
positive.code:             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, 
                      [attachments, follows|Options])),
              {ContentType, Len} = couch_doc:len_doc_to_multi_part_stream(
                      Boundary,JsonBytes, Atts,false),
  
negative.code:         ({{not_found, missing}, RevId}) ->
               RevStr = couch_doc:rev_to_str(RevId),
               Json = ?JSON_ENCODE({[{"missing", RevStr}]}),
               couch_httpd:send_chunk(Resp,
                  [<<"\r\nContent-Type: application/json; error=\"true\"\r\n\r\n">>,
                  Json,
                  <<"\r\n--", OuterBoundary/binary>>])
           end, Results),
  