when I try to Respond with on HTTP 204 Status, my Chrome browser is starting an Download that fails.
Request: Request URL: https://dummy.page/dummyRequest Request Method: GET Status Code: 204 Remote Address: [dummy]:443 Referrer Policy: no-referrer-when-downgrade
Response: date: Fri, 08 Mar 2019 08:24:05 GMT server: status: 204
When I use Dev-Tool to inspect the response, chrome says "faild to load response data" and in firefox I can see one empty line.
My server returns a Response via Java:
return Response.noContent().build();
I also tried to return NULL at this point but that did not change anything.
The whole thing is working fine in Firefox but when I try in Chrome it starts an Download of "dummyRequest" (from the URL) which fails.
So what I want to know: why is Chrome starting a download and what could I do against?
Thanks for helping ;)