mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-15 10:18:45 +00:00
bug5127: use application/json as the content type for file upload progress servlet
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ public class ProgressServlet extends HttpServlet {
|
||||
}
|
||||
|
||||
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException {
|
||||
response.setContentType("text/html");
|
||||
response.setContentType("application/json");
|
||||
final HttpSession session = request.getSession(true);
|
||||
if (session == null) {
|
||||
logger.warning("Sorry, session is null"); // just to be safe
|
||||
|
||||
Reference in New Issue
Block a user