anchor.diff:              data_fun=DataFun,
               callback=Callback},
       {Mp2, _NilCallback} = read_until(Mp, <<"--", Boundary0/binary>>,
  -        fun(Next)-> nil_callback(Next) end),
  +        fun nil_callback/1),
       #mp{buffer=Buffer, data_fun=DataFun2, callback=Callback2} =
               parse_part_header(Mp2),
       {Buffer, DataFun2, Callback2}.
   
   nil_callback(_Data)->
  -    fun(Next) -> nil_callback(Next) end.
  +    fun nil_callback/1.
   
   get_boundary({"multipart/" ++ _, Opts}) ->
       case couch_util:get_value("boundary", Opts) of
  
positive.code: 
      % alias HEAD to GET as mochiweb takes care of stripping the body
      Method = case Method2 of
              'HEAD' -> 'GET';
          Other -> Other
      end,
  
  
negative.code:     end.
  
  validate_ctype(Req, Ctype) ->
      case header_value(Req, "Content-Type") of
      undefined ->
          throw({bad_ctype, "Content-Type must be "++Ctype});
      ReqCtype ->
  