Set ContentType to application/json
This commit is contained in:
parent
5d45566455
commit
6df822e5a6
@ -53,6 +53,7 @@ public class GetImportingConfigurationCommand extends Command {
|
|||||||
throws ServletException, IOException {
|
throws ServletException, IOException {
|
||||||
|
|
||||||
Writer w = response.getWriter();
|
Writer w = response.getWriter();
|
||||||
|
response.setContentType("application/json");
|
||||||
JSONWriter writer = new JSONWriter(w);
|
JSONWriter writer = new JSONWriter(w);
|
||||||
try {
|
try {
|
||||||
writer.object();
|
writer.object();
|
||||||
|
Loading…
Reference in New Issue
Block a user