anchor.diff:      {Data, fun() -> receive_request_data(Req, LenLeft - iolist_size(Data)) end};
   receive_request_data(_Req, _) ->
       throw(<<"expected more data">>).
  -    
  +
   make_content_range(From, To, Len) ->
       ?l2b(io_lib:format("bytes ~B-~B/~B", [From, To, Len])).
   
  
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:                             _Else ->
                                  ok
                          end,
  
  
                          fun(Size) -> couch_httpd:recv(Req, Size) end
                      end,
                  att_len = case couch_httpd:header_value(Req,"Content-Length") of
  