(Zuki Ebetsu / Stuart Lewis) [1990660] SWORD Service Document are malformed / Corrected Atom publishing MIME types

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2960 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Stuart Lewis
2008-06-11 11:11:05 +00:00
parent aa2df4c39b
commit d82d24c3ba
3 changed files with 12 additions and 4 deletions

View File

@@ -185,8 +185,7 @@ public class DepositServlet extends HttpServlet {
// Print out the Deposit Response
response.setStatus(dr.getHttpResponse());
// response.setContentType("application/atomserv+xml");
response.setContentType("application/xml");
response.setContentType("application/atom+xml; charset=UTF-8");
PrintWriter out = response.getWriter();
out.write(dr.marshall());
out.flush();

View File

@@ -80,8 +80,7 @@ public class ServiceDocumentServlet extends HttpServlet {
ServiceDocument sd = myRepository.doServiceDocument(sdr);
// Print out the Service Document
// response.setContentType("application/atomserv+xml");
response.setContentType("application/xml");
response.setContentType("application/atomsvc+xml; charset=UTF-8");
PrintWriter out = response.getWriter();
out.write(sd.marshall());
out.flush();

View File

@@ -1,3 +1,13 @@
(Stuart Lewis)
- [1947036] Patch for SF Bug1896960 SWORD authentication and LDAP + [1989874] LDAPAuthentication
pluggable method broken for current users
(Zuki Ebetsu / Stuart Lewis)
- [1990660] SWORD Service Document are malformed / Corrected Atom publishing MIME types
1.5 final
=========
(Mark Diggory)
- New options for ItemImporter to support bitstream permissions and descriptions.