anchor.diff:                  headers = ExtHeaders
               } = couch_httpd_external:parse_external_response(JsonResp),
               JsonHeaders = couch_httpd_external:default_or_content_type(CType, ExtHeaders),
  -            % TODO use the Etag
               {ok, Resp} = start_chunked_response(Req, Code, JsonHeaders),
               {ok, Resp, binary_to_list(BeginBody)}
           end,
  
positive.code:         couch_httpd_external:send_external_response(Req, JsonResp)
      end);
  
  send_doc_show_response(Lang, ShowSrc, #doc{revs=[DocRev|_]}=Doc, #httpd{mochi_req=MReq}=Req, Db) ->
      % calculate the etag
      Headers = MReq:get(headers),
      Hlist = mochiweb_headers:to_list(Headers),
  
negative.code:     ListSrc = get_nested_json_value({Props}, [<<"lists">>, ListName]),
      send_view_list_response(Lang, ListSrc, ViewName, DesignId, Req, Db);
  
  handle_view_list_req(#httpd{method='GET'}=Req, _Db) ->
      send_error(Req, 404, <<"list_error">>, <<"Invalid path.">>);
  
  handle_view_list_req(Req, _Db) ->
      send_method_not_allowed(Req, "GET,HEAD").
  
  