Author: snoopdave
Date: Tue Apr 17 21:36:32 2007
New Revision: 529859
URL: http://svn.apache.org/viewvc?view=rev&rev=529859
Log:
Correct content-type for Service Doc
Modified:
roller/trunk/src/org/apache/roller/webservices/atomprotocol/AtomServlet.java
Modified:
roller/trunk/src/org/apache/roller/webservices/atomprotocol/AtomServlet.java
URL:
http://svn.apache.org/viewvc/roller/trunk/src/org/apache/roller/webservices/atomprotocol/AtomServlet.java?view=diff&rev=529859&r1=529858&r2=529859
==============================================================================
---
roller/trunk/src/org/apache/roller/webservices/atomprotocol/AtomServlet.java
(original)
+++
roller/trunk/src/org/apache/roller/webservices/atomprotocol/AtomServlet.java
Tue Apr 17 21:36:32 2007
@@ -92,7 +92,7 @@
// return an Atom Service document
AtomService service = handler.getIntrospection();
Document doc = AtomService.serviceToDocument(service);
- res.setContentType("application/atomserv+xml;
charset=utf-8");
+ res.setContentType("application/atomsvc+xml;
charset=utf-8");
Writer writer = res.getWriter();
XMLOutputter outputter = new XMLOutputter();
outputter.setFormat(Format.getPrettyFormat());