Finish issue #306 - RSS content type should be more specific.

* lib/viewvc.py
  (view_query): Use "application/rss+xml" instead "text/xml" for 
    the RSS feed output stream's content type.  Suggested by 
    Phil Ringnalda <philringnalda@tigris.org>.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1695 8cb11bc2-c004-0410-86c3-e597b4017df7
remotes/options-overhaul
cmpilato 2007-07-09 18:18:01 +00:00
parent 8ca49db267
commit 29057c811f
1 changed files with 1 additions and 1 deletions

View File

@ -3824,7 +3824,7 @@ def view_query(request):
})
if format == 'rss':
generate_page(request, "rss", data, "text/xml")
generate_page(request, "rss", data, "application/rss+xml")
else:
generate_page(request, "query_results", data)