mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 15:03:18 +00:00
(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:
@@ -185,8 +185,7 @@ public class DepositServlet extends HttpServlet {
|
|||||||
|
|
||||||
// Print out the Deposit Response
|
// Print out the Deposit Response
|
||||||
response.setStatus(dr.getHttpResponse());
|
response.setStatus(dr.getHttpResponse());
|
||||||
// response.setContentType("application/atomserv+xml");
|
response.setContentType("application/atom+xml; charset=UTF-8");
|
||||||
response.setContentType("application/xml");
|
|
||||||
PrintWriter out = response.getWriter();
|
PrintWriter out = response.getWriter();
|
||||||
out.write(dr.marshall());
|
out.write(dr.marshall());
|
||||||
out.flush();
|
out.flush();
|
||||||
|
@@ -80,8 +80,7 @@ public class ServiceDocumentServlet extends HttpServlet {
|
|||||||
ServiceDocument sd = myRepository.doServiceDocument(sdr);
|
ServiceDocument sd = myRepository.doServiceDocument(sdr);
|
||||||
|
|
||||||
// Print out the Service Document
|
// Print out the Service Document
|
||||||
// response.setContentType("application/atomserv+xml");
|
response.setContentType("application/atomsvc+xml; charset=UTF-8");
|
||||||
response.setContentType("application/xml");
|
|
||||||
PrintWriter out = response.getWriter();
|
PrintWriter out = response.getWriter();
|
||||||
out.write(sd.marshall());
|
out.write(sd.marshall());
|
||||||
out.flush();
|
out.flush();
|
||||||
|
@@ -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)
|
(Mark Diggory)
|
||||||
- New options for ItemImporter to support bitstream permissions and descriptions.
|
- New options for ItemImporter to support bitstream permissions and descriptions.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user