Ticket
This commit is contained in:
1 parent
b44faacbae
commit
883b24f73d
5 files changed
+17
No files matched your search
@@ -92,6 +92,9 @@ public class List extends AuthenticatingHttpServlet {
|
||||
|
||||
// Write XML content type
|
||||
response.setHeader("Content-Type", "text/xml");
|
||||
|
||||
// Set encoding
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
|
||||
// Get connection directory
|
||||
Directory<String, Connection> directory = context.getConnectionDirectory();
|
||||
|
||||
@@ -101,6 +101,9 @@ public class List extends AuthenticatingHttpServlet {
|
||||
|
||||
// Do not cache
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
|
||||
// Set encoding
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
|
||||
// Write actual XML
|
||||
try {
|
||||
|
||||
@@ -199,6 +199,9 @@ public class List extends AuthenticatingHttpServlet {
|
||||
|
||||
// Do not cache
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
|
||||
// Set encoding
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
|
||||
// Map of all available protocols
|
||||
Map<String, ProtocolInfo> protocols = new HashMap<String, ProtocolInfo>();
|
||||
|
||||
@@ -50,6 +50,9 @@ public class List extends AuthenticatingHttpServlet {
|
||||
|
||||
// Write XML content type
|
||||
response.setHeader("Content-Type", "text/xml");
|
||||
|
||||
// Set encoding
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
|
||||
// Write actual XML
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user