anchor.diff:      send_doc_update_response(Lang, UpdateSrc, DocId, Doc, Req, Db);
   
   handle_doc_update_req(#httpd{
  -        method = 'POST',
           path_parts=[_DbName, _Design, DesignName, _Update, UpdateName]
       }=Req, Db) ->
       DesignId = <<"_design/", DesignName/binary>>,
  
positive.code: handle_doc_show_req(Req, _Db) ->
      send_method_not_allowed(Req, "GET,POST,HEAD").
  
  handle_doc_update_req(#httpd{
          method = 'PUT',
          path_parts=[_DbName, _Design, DesignName, _Update, UpdateName, DocId]
      }=Req, Db) ->
      DesignId = <<"_design/", DesignName/binary>>,
  
negative.code:     UpdateSrc = couch_util:get_nested_json_value({Props}, [<<"updates">>, UpdateName]),
      send_doc_update_response(Lang, UpdateSrc, nil, nil, Req, Db);
  
  
  handle_doc_update_req(Req, _Db) ->
      send_error(Req, 404, <<"update_error">>, <<"Invalid path.">>).
  