fixed caching of locales/x/plugins.json

This commit is contained in:
Sebastian Sdorra
2019-02-11 11:51:12 +01:00
parent f17410ee3b
commit d91f918e91
2 changed files with 2 additions and 0 deletions

View File

@@ -233,6 +233,7 @@ public class I18nServletTest {
private void verifyHeaders(HttpServletResponse response) {
verify(response).setCharacterEncoding("UTF-8");
verify(response).setContentType("application/json");
verify(response).setHeader("Cache-Control", "no-cache");
}
public void assertJson(JsonNode actual) throws IOException {