-
Type: Improvement
-
Status: Done
-
Priority: Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.21.0
-
Component/s: appng-api, appng-core
-
Labels:None
According to the servlet API of HttpServletResponse#doGet(request,response) it is necessary to set the response headers such as content type before writing the body.
The servlet container must write the headers before committing the response, because in HTTP the headers must be sent before the response body.