anchor.diff:          [Rev0|_] -> Rev0;
           [] -> undefined
       end,
  +    validate_attachment_names(Doc),
       case couch_httpd:header_value(Req, "X-Couch-Full-Commit", "false") of
       "true" ->
           Options = [full_commit];
  
positive.code:         {list_to_binary(DocId), [list_to_binary(Rev)]}
      end.
  
  
negative.code: 
  db_attachment_req(#httpd{method=Method}=Req, Db, DocId, FileNameParts)
          when (Method == 'PUT') or (Method == 'DELETE') ->
      FileName = validate_attachment_name(
                      mochiweb_util:join(
                          lists:map(fun binary_to_list/1, 
                              FileNameParts),"/")),
      
      NewAttachment = case Method of
          'DELETE' ->
              [];
  