From 5151592a5971ea6bfdd02374568c7823773a6e51 Mon Sep 17 00:00:00 2001 From: nmihajlovski Date: Thu, 25 Aug 2016 10:18:30 -0700 Subject: [PATCH] Removed encoding info from the JSON content type headers. --- .../src/main/java/org/rapidoid/http/MediaType.java | 8 ++++---- .../src/main/java/org/rapidoid/http/HttpUtils.java | 2 +- .../src/main/java/org/rapidoid/http/Resp.java | 2 +- .../http/customize/defaults/DefaultErrorHandler.java | 4 ++-- .../org/rapidoid/http/handler/AbstractHttpHandler.java | 2 +- .../src/main/java/org/rapidoid/http/impl/HttpIO.java | 2 +- .../src/main/java/org/rapidoid/http/impl/RespImpl.java | 2 +- .../src/main/java/org/rapidoid/setup/OnRoute.java | 2 +- .../src/test/resources/404-not-found-json.txt | 2 +- .../CustomizationTest/customErrorHandlerByType/GET_err1 | 2 +- .../CustomizationTest/customErrorHandlerByType/GET_err3 | 2 +- .../CustomizationTest/customErrorHandlerByType/GET_err4 | 2 +- .../CustomizationTest/customErrorHandlerByType/POST_err2 | 2 +- .../customJsonBodyParser/POST_abc-custom | 2 +- .../customJsonBodyParser/POST_abc-multipart | 2 +- .../testBeanParamFactoryConfig/POST_aa-id=1 | 2 +- .../testBeanParamFactoryConfig/POST_aa-id=3 | 2 +- .../testBeanParamFactoryConfig/PUT_bb-id=2 | 2 +- .../testBeanParamFactoryConfig/PUT_bb-id=4 | 2 +- .../CustomizationTest/testSerializationConfig/GET_ | 2 +- .../CustomizationTest/testSerializationConfig/GET_a | 2 +- .../HttpAdminAndDevServerTest/testAdminOnAppServer/GET_b | 2 +- .../HttpAdminAndDevServerTest/testAdminOnAppServer/GET_c | 2 +- .../testAdminServerConfig/20000__GET_b | 2 +- .../testAdminServerConfig/20000__GET_c | 2 +- .../HttpAdminServerTest/testAdminServer/9898__GET_ | 2 +- .../testCustomValidation/GET_invalid2-err | 2 +- .../testCustomValidation/GET_invalid2-inv | 2 +- .../testCustomValidation/GET_invalid2-val | 2 +- .../HttpBeanValidationTest/testValidation/GET_echo | 2 +- .../testValidation/GET_echo-num=123 | 2 +- .../HttpBeanValidationTest/testValidation/GET_validating | 2 +- .../testValidation/GET_validating-num=123 | 2 +- .../HttpBeanValidationTest/testValidation/POST_save | 2 +- .../testValidation/POST_save-num=123 | 2 +- .../HttpContextTest/testContextIsInitialized/GET_b | 2 +- .../HttpErrorTest/testWithHandlerException/GET_err | 2 +- .../test-results/HttpHtmlApiTest/test05/GET_test05 | 2 +- .../test-results/HttpLoginTest/randomUserLogin/denied | 2 +- .../HttpLoginTest/randomUserLogin/granted-abc | 2 +- .../HttpLoginTest/randomUserLogin/granted-chuck | 2 +- .../HttpLoginTest/randomUserLogin/granted-foo | 2 +- .../HttpLoginTest/randomUserLogin/granted-niko | 2 +- .../test-results/HttpLoginTest/randomUserLogin/logout | 2 +- .../testSequentialControllerRegistration/GET_bar | 2 +- .../testSequentialControllerRegistration/GET_baz | 2 +- .../testSequentialControllerRegistration/GET_foo | 2 +- .../HttpNotFoundTest/testThrowingNotFound/GET_foo-x=1 | 2 +- .../testHttpPathMatching/DELETE_tags_comedy_ref45 | 2 +- .../testHttpPathMatching/DELETE_tags_drama_ref3_ | 2 +- .../testHttpPathMatching/GET_movies_123 | 2 +- .../testHttpPathMatching/GET_movies_1_ | 2 +- .../testHttpPathMatching/POST_users_a_ | 2 +- .../testHttpPathMatching/POST_users_abc-def | 2 +- .../testHttpPathMatching/PUT_books_12df_abc | 2 +- .../testHttpPathMatching/PUT_books_x-y-z_abc_ | 2 +- .../HttpPojoControllerTest/testPojoHandlers/GET_a | 2 +- .../HttpPojoControllerTest/testPojoHandlers/GET_b | 2 +- .../HttpPojoControllerTest/testPojoHandlers/POST_x | 2 +- .../HttpPojoControllerTest/testPojoHandlersWithIoC/GET_b | 2 +- .../testControllerDeregistration/GET_inc-x=5 | 2 +- .../testControllerDeregistration/POST_dec-x=12 | 2 +- .../testControllerReregistration/GET_inc-x=100 | 2 +- .../testControllerReregistration/GET_inc-x=200 | 2 +- .../testControllerReregistration/GET_inc-x=300 | 2 +- .../resources/test-results/HttpRolesTest/testRoles/GET_a | 2 +- .../resources/test-results/HttpRolesTest/testRoles/GET_ok | 2 +- .../HttpStaticFilesTest/serveStaticFiles/GET_c | 2 +- .../HttpTransactionTest/testWebTx/GET_allBooks | 2 +- .../HttpTransactionTest/testWebTx/POST_books-title=a | 2 +- .../HttpTransactionTest/testWebTx/POST_books-title=b | 2 +- .../HttpTransactionTest/testWebTx/POST_del-id=1 | 2 +- .../HttpTransactionTest/testWebTx/POST_del-id=2 | 2 +- .../test-results/HttpWrappersTest/testWrappers/POST_x | 2 +- .../test-results/HttpZoneTest/testMainZone/GET_a | 2 +- .../test-results/HttpZoneTest/testMainZone/GET_b | 2 +- .../test-results/HttpZoneTest/testMainZone/GET_c | 2 +- .../JPAInjectionTest/testJPAInjection/GET_allBooks | 2 +- .../testJPAInjection/GET_allBooks-finally | 2 +- .../JPAInjectionTest/testJPAInjection/GET_del-id=1 | 2 +- .../JPAInjectionTest/testJPAInjection/POST_books-title=a | 2 +- .../JPAInjectionTest/testJPAInjection/POST_books-title=b | 2 +- .../JPAInjectionTest/testJPAInjection/POST_books-title=c | 2 +- .../JPAInjectionTest/testJPAInjection/POST_del3-id=3 | 2 +- .../JPAInjectionTest/testJPAInjection/POST_del4-id=3 | 2 +- .../testJSONParsingWithoutJsonHeaderPOST/POST_movie | 2 +- .../testJSONParsingWithoutJsonHeaderPUT/PUT_movie | 2 +- .../test-results/JSONRenderingTest/testJSONRendering/GET_ | 2 +- .../testLambdaHandlerWithAnonymousClass/GET_test-x=123 | 2 +- .../testHandlerLambdaParams/GET_-x=10&b=33 | 2 +- .../LambdaParamNamesTest/testLambdaParams1/GET_foo-a=10 | 2 +- .../testLambdaParams2/GET_foo-a=10&b=20 | 2 +- .../testLambdaParams3/GET_foo-a=10&b=20&c=30 | 2 +- .../testLambdaParams4/GET_foo-a=10&b=20&c=30&d=40 | 2 +- .../testLambdaParams5/GET_foo-a=10&b=20&c=30&d=40&e=50 | 2 +- .../test-results/XTest/testXQueries/DELETE_books_1 | 2 +- .../test-results/XTest/testXQueries/DELETE_books_200 | 2 +- .../resources/test-results/XTest/testXQueries/GET_books-a | 2 +- .../resources/test-results/XTest/testXQueries/GET_books-b | 2 +- .../resources/test-results/XTest/testXQueries/GET_books-c | 2 +- .../resources/test-results/XTest/testXQueries/GET_books-d | 2 +- .../resources/test-results/XTest/testXQueries/GET_books_1 | 2 +- .../test-results/XTest/testXQueries/GET_books_1-b | 2 +- .../test-results/XTest/testXQueries/GET_books_1-c | 2 +- .../test-results/XTest/testXQueries/POST_books-a | 2 +- .../test-results/XTest/testXQueries/POST_books-b | 2 +- .../resources/test-results/XTest/testXQueries/PUT_books_1 | 2 +- .../test-results/XTest/testXQueries/PUT_books_100 | 2 +- .../test/java/org/rapidoid/net/mime/MediaTypeTest.java | 4 ++-- .../HttpBeanParamsTest/testBeanParams/GET_pers-id=200 | 2 +- .../testBeanParams/GET_pers-name=Einstein&id=1000 | 2 +- .../testBeanParams/GET_pers-name=Mozart | 2 +- .../testPrimitiveLambdaParams/GET_foo-a=10&b=20&c=30 | 2 +- .../HttpErrorHandlerTest/testErrorHandler2/GET_err2-x=2 | 2 +- .../resources/test-results/HttpPojoApiTest/test10/GET_x | 2 +- .../resources/test-results/HttpPojoApiTest/test10/POST_y | 2 +- .../resources/test-results/HttpPojoApiTest/test11/GET_x | 2 +- .../resources/test-results/HttpPojoApiTest/test11/POST_y | 2 +- .../resources/test-results/HttpPojoApiTest/test12/GET_x | 2 +- .../resources/test-results/HttpPojoApiTest/test12/POST_y | 2 +- .../resources/test-results/HttpPojoApiTest/test13/GET_x | 2 +- .../resources/test-results/HttpPojoApiTest/test13/POST_y | 2 +- .../test-results/HttpPojoApiTest/test2/GET_test2 | 2 +- .../test-results/HttpPojoApiTest/test3/POST_test3 | 2 +- .../test-results/HttpPojoApiTest/test4/PUT_test4 | 2 +- .../test-results/HttpPojoApiTest/test5/DELETE_test5 | 2 +- .../test-results/HttpPojoApiTest/test6/GET_test6 | 2 +- .../test-results/HttpPojoApiTest/test7/POST_test7 | 2 +- .../test-results/HttpPojoApiTest/test8/PUT_test8 | 2 +- .../test-results/HttpPojoApiTest/test9/DELETE_test9 | 2 +- .../HttpRawBodyTest/testByteBufferResponse/GET_buf | 2 +- .../testRedirectWithCustomCode/GET_redir2 | 2 +- .../HttpRootPojoControllerTest/testRootPojoHandler/GET_a | 2 +- ...1&b=2&c=3&d=4&e=5&f=12.345&g=9.81&h=true&i=false&j=abc | 2 +- .../HttpRootPojoControllerTest/testRootPojoHandler/POST_b | 2 +- 135 files changed, 140 insertions(+), 140 deletions(-) diff --git a/rapidoid-commons/src/main/java/org/rapidoid/http/MediaType.java b/rapidoid-commons/src/main/java/org/rapidoid/http/MediaType.java index d53d42717d..a503bd0dd8 100644 --- a/rapidoid-commons/src/main/java/org/rapidoid/http/MediaType.java +++ b/rapidoid-commons/src/main/java/org/rapidoid/http/MediaType.java @@ -86,8 +86,8 @@ public class MediaType extends RapidoidThing { public static final MediaType APPLICATION_JAVA_SERIALIZED_OBJECT = create("application/java-serialized-object", "ser"); public static final MediaType APPLICATION_JAVA_VM = create("application/java-vm", "class"); - public static final MediaType APPLICATION_JSON_UTF8 = createUTF8("application/json", "json", "map"); - public static final MediaType APPLICATION_JSONML_JSON_UTF8 = createUTF8("application/jsonml+json", "jsonml"); + public static final MediaType APPLICATION_JSON = create("application/json", "json", "map"); + public static final MediaType APPLICATION_JSONML_JSON = create("application/jsonml+json", "jsonml"); public static final MediaType APPLICATION_LOST_XML = create("application/lost+xml", "lostxml"); public static final MediaType APPLICATION_M3G = create("application/m3g", "m3g"); public static final MediaType APPLICATION_MAC_BINHEX40 = create("application/mac-binhex40", "hqx"); @@ -1166,7 +1166,7 @@ public class MediaType extends RapidoidThing { public static final MediaType XHTML_XML_UTF8 = APPLICATION_XHTML_XML_UTF8; public static final MediaType JAVASCRIPT_UTF8 = APPLICATION_JAVASCRIPT_UTF8; - public static final MediaType JSON_UTF_8 = APPLICATION_JSON_UTF8; + public static final MediaType JSON = APPLICATION_JSON; public static final MediaType XML_UTF_8 = APPLICATION_XML_UTF8; public static final MediaType BINARY = APPLICATION_OCTET_STREAM; @@ -1280,7 +1280,7 @@ public String info() { return "html"; } - if (this == JSON_UTF_8) { + if (this == JSON) { return "json"; } diff --git a/rapidoid-http-fast/src/main/java/org/rapidoid/http/HttpUtils.java b/rapidoid-http-fast/src/main/java/org/rapidoid/http/HttpUtils.java index 1e6a0ac3f5..1abad59288 100644 --- a/rapidoid-http-fast/src/main/java/org/rapidoid/http/HttpUtils.java +++ b/rapidoid-http-fast/src/main/java/org/rapidoid/http/HttpUtils.java @@ -293,7 +293,7 @@ public static String constructUrl(Req x, String path) { } public static byte[] responseToBytes(Req req, Object result, MediaType contentType, JsonResponseRenderer jsonRenderer) { - if (U.eq(contentType, MediaType.JSON_UTF_8)) { + if (U.eq(contentType, MediaType.JSON)) { ByteArrayOutputStream out = new ByteArrayOutputStream(); try { diff --git a/rapidoid-http-fast/src/main/java/org/rapidoid/http/Resp.java b/rapidoid-http-fast/src/main/java/org/rapidoid/http/Resp.java index f2170ef734..f3f44dd357 100644 --- a/rapidoid-http-fast/src/main/java/org/rapidoid/http/Resp.java +++ b/rapidoid-http-fast/src/main/java/org/rapidoid/http/Resp.java @@ -212,7 +212,7 @@ public interface Resp { /** * Sets the Content-Type: application/json; charset=utf-8 header and the content of the HTTP * response.
- * Alias to contentType(MediaType.JSON_UTF_8).body(content). + * Alias to contentType(MediaType.JSON).body(content). */ Resp json(Object content); diff --git a/rapidoid-http-fast/src/main/java/org/rapidoid/http/customize/defaults/DefaultErrorHandler.java b/rapidoid-http-fast/src/main/java/org/rapidoid/http/customize/defaults/DefaultErrorHandler.java index 396ef00787..ce96910ab5 100644 --- a/rapidoid-http-fast/src/main/java/org/rapidoid/http/customize/defaults/DefaultErrorHandler.java +++ b/rapidoid-http-fast/src/main/java/org/rapidoid/http/customize/defaults/DefaultErrorHandler.java @@ -56,7 +56,7 @@ public Object handleError(Req req, Resp resp, Throwable error) { private Object renderError(Req req, Resp resp, Throwable error) { - if (resp.contentType() == MediaType.JSON_UTF_8) { + if (resp.contentType() == MediaType.JSON) { return HttpUtils.getErrorInfo(resp, error); } else if (resp.contentType() == MediaType.PLAIN_TEXT_UTF_8) { @@ -105,7 +105,7 @@ protected Object defaultErrorHandling(Req req, Throwable error) { if (error instanceof NotFound) { Resp resp = req.response().code(404); - if (resp.contentType() == MediaType.JSON_UTF_8) { + if (resp.contentType() == MediaType.JSON) { return error; } else { return resp.view("404").result(Collections.emptyMap()); diff --git a/rapidoid-http-fast/src/main/java/org/rapidoid/http/handler/AbstractHttpHandler.java b/rapidoid-http-fast/src/main/java/org/rapidoid/http/handler/AbstractHttpHandler.java index e7c0bb0e5b..95985c6210 100644 --- a/rapidoid-http-fast/src/main/java/org/rapidoid/http/handler/AbstractHttpHandler.java +++ b/rapidoid-http-fast/src/main/java/org/rapidoid/http/handler/AbstractHttpHandler.java @@ -79,7 +79,7 @@ protected String contentTypeInfo(String inside) { if (contentType == MediaType.HTML_UTF_8) { type = options.mvc() ? "mvc" : "html"; - } else if (contentType == MediaType.JSON_UTF_8) { + } else if (contentType == MediaType.JSON) { type = "json"; } else if (contentType == MediaType.PLAIN_TEXT_UTF_8) { diff --git a/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/HttpIO.java b/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/HttpIO.java index 5e9394b2bf..0f48c20fc6 100644 --- a/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/HttpIO.java +++ b/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/HttpIO.java @@ -170,7 +170,7 @@ public static void writeContentLengthAndBody(Channel ctx, byte[] content) { } public static void writeAsJson(Channel ctx, int code, boolean isKeepAlive, Object value) { - startResponse(ctx, code, isKeepAlive, MediaType.JSON_UTF_8); + startResponse(ctx, code, isKeepAlive, MediaType.JSON); Buf out = ctx.output(); diff --git a/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/RespImpl.java b/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/RespImpl.java index 3ec6ddbdb9..6a2369a42b 100644 --- a/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/RespImpl.java +++ b/rapidoid-http-fast/src/main/java/org/rapidoid/http/impl/RespImpl.java @@ -299,7 +299,7 @@ public Resp plain(Object content) { @Override public Resp json(Object content) { - return contentType(MediaType.JSON_UTF_8).result(content); + return contentType(MediaType.JSON).result(content); } @Override diff --git a/rapidoid-http-server/src/main/java/org/rapidoid/setup/OnRoute.java b/rapidoid-http-server/src/main/java/org/rapidoid/setup/OnRoute.java index c04ac876f8..06d104451c 100644 --- a/rapidoid-http-server/src/main/java/org/rapidoid/setup/OnRoute.java +++ b/rapidoid-http-server/src/main/java/org/rapidoid/setup/OnRoute.java @@ -350,7 +350,7 @@ private RouteOptions htmlOpts() { } private RouteOptions jsonOpts() { - return opts(MediaType.JSON_UTF_8); + return opts(MediaType.JSON); } private RouteOptions plainOpts() { diff --git a/rapidoid-integration-tests/src/test/resources/404-not-found-json.txt b/rapidoid-integration-tests/src/test/resources/404-not-found-json.txt index 87b597fa54..d72777f0cb 100644 --- a/rapidoid-integration-tests/src/test/resources/404-not-found-json.txt +++ b/rapidoid-integration-tests/src/test/resources/404-not-found-json.txt @@ -2,7 +2,7 @@ HTTP/1.1 404 Not Found Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 86 {"error":"The requested resource could not be found!","code":404,"status":"Not Found"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err1 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err1 index 407f240b51..1393e1f14d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err1 @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 8 "MY NPE" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err3 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err3 index b77971cc65..55925fa723 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err3 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err3 @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 8 "ON SEC" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err4 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err4 index e69f46539c..00ab9e3d16 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err4 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/GET_err4 @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 70 {"error":"out of memory!","code":500,"status":"Internal Server Error"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/POST_err2 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/POST_err2 index 1a405e1e6d..5fdf3336a4 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/POST_err2 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customErrorHandlerByType/POST_err2 @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 8 "MY RTE" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-custom b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-custom index bd3666c607..1ee6c60e93 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-custom +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-custom @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 66 {"custom":"","uri":"/abc?custom","parsed":{"x":13579,"foo":"bar"}} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-multipart b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-multipart index 3a71b4d5f2..0e1787e0ad 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-multipart +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/customJsonBodyParser/POST_abc-multipart @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 40 {"multipart":"","x":"13579","foo":"bar"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=1 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=1 index f893e87ea8..74d454fa58 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=1 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 25 {"id":1,"the-name":"one"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=3 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=3 index 0b4384e0a4..d15aa1e2fb 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=3 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/POST_aa-id=3 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 28 {"id":-1,"the-name":"three"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=2 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=2 index 837916e893..54b9862aad 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=2 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=2 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 25 {"id":2,"the-name":"two"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=4 b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=4 index 2aa6554898..b8430008fd 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=4 +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testBeanParamFactoryConfig/PUT_bb-id=4 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 27 {"id":-1,"the-name":"four"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_ index 14ab205e6d..0e982ae35f 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_ +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_ @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 31 { diff --git a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_a b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_a index d02124c395..0e0f802843 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_a +++ b/rapidoid-integration-tests/src/test/resources/test-results/CustomizationTest/testSerializationConfig/GET_a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 20 {"foo":12,"bar":345} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_b b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_b index fd9d46ec4c..949a2fc8e5 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_b +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 17 "admin /b:admin:" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_c b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_c index d58fbe8210..7c7dcd111d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_c +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminOnAppServer/GET_c @@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 85 {"error":"The user doesn't have the required roles!","code":403,"status":"Forbidden"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_b b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_b index fd9d46ec4c..949a2fc8e5 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_b +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 17 "admin /b:admin:" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_c b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_c index d58fbe8210..7c7dcd111d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_c +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminAndDevServerTest/testAdminServerConfig/20000__GET_c @@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 85 {"error":"The user doesn't have the required roles!","code":403,"status":"Forbidden"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminServerTest/testAdminServer/9898__GET_ b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminServerTest/testAdminServer/9898__GET_ index d58fbe8210..7c7dcd111d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminServerTest/testAdminServer/9898__GET_ +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpAdminServerTest/testAdminServer/9898__GET_ @@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 85 {"error":"The user doesn't have the required roles!","code":403,"status":"Forbidden"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-err b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-err index bb943c75e2..24ae33e83e 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-err +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-err @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 64 {"error":"Invalid!","code":500,"status":"Internal Server Error"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-inv b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-inv index bd5e59de41..de025880f9 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-inv +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-inv @@ -2,7 +2,7 @@ HTTP/1.1 422 Unprocessable Entity Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 68 {"error":"Invalid data!","code":422,"status":"Unprocessable Entity"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-val b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-val index ca1450ce49..81df87a001 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-val +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testCustomValidation/GET_invalid2-val @@ -2,7 +2,7 @@ HTTP/1.1 422 Unprocessable Entity Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 73 {"error":"Validation failed!","code":422,"status":"Unprocessable Entity"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo index 4cd9893ab7..98d1164425 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 22 {"id":null,"num":null} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo-num=123 b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo-num=123 index 7267153897..0c4aa3a5f3 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo-num=123 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_echo-num=123 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 21 {"id":null,"num":123} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating index 764276e7b2..9cf3b7b414 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating @@ -2,7 +2,7 @@ HTTP/1.1 422 Unprocessable Entity Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 99 {"error":"Validation failed: Foo.num (may not be null)","code":422,"status":"Unprocessable Entity"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating-num=123 b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating-num=123 index 7267153897..0c4aa3a5f3 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating-num=123 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/GET_validating-num=123 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 21 {"id":null,"num":123} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save index 764276e7b2..9cf3b7b414 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save @@ -2,7 +2,7 @@ HTTP/1.1 422 Unprocessable Entity Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 99 {"error":"Validation failed: Foo.num (may not be null)","code":422,"status":"Unprocessable Entity"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save-num=123 b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save-num=123 index 8ab87e5133..28500ec3c8 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save-num=123 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpBeanValidationTest/testValidation/POST_save-num=123 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 18 {"id":1,"num":123} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpContextTest/testContextIsInitialized/GET_b b/rapidoid-integration-tests/src/test/resources/test-results/HttpContextTest/testContextIsInitialized/GET_b index 821e8115f5..ed316bb36a 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpContextTest/testContextIsInitialized/GET_b +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpContextTest/testContextIsInitialized/GET_b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 8 "GET /b" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpErrorTest/testWithHandlerException/GET_err b/rapidoid-integration-tests/src/test/resources/test-results/HttpErrorTest/testWithHandlerException/GET_err index 0d21fa80a9..71d05783ef 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpErrorTest/testWithHandlerException/GET_err +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpErrorTest/testWithHandlerException/GET_err @@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 55 {"error":"Not secure!","code":403,"status":"Forbidden"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpHtmlApiTest/test05/GET_test05 b/rapidoid-integration-tests/src/test/resources/test-results/HttpHtmlApiTest/test05/GET_test05 index 99d096ffd3..5b19d0fe81 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpHtmlApiTest/test05/GET_test05 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpHtmlApiTest/test05/GET_test05 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 10 "RESULT 5" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/denied b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/denied index d58fbe8210..7c7dcd111d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/denied +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/denied @@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 85 {"error":"The user doesn't have the required roles!","code":403,"status":"Forbidden"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-abc b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-abc index 9cc268d3dd..2534841d21 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-abc +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-abc @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "abc" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-chuck b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-chuck index 7e6f7b835c..fdaa57f85c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-chuck +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-chuck @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 7 "chuck" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-foo b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-foo index 836b98e22b..9ed1950aea 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-foo +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-foo @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "foo" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-niko b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-niko index afe0093d11..95efc03cb9 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-niko +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/granted-niko @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 6 "niko" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/logout b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/logout index d58fbe8210..7c7dcd111d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/logout +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpLoginTest/randomUserLogin/logout @@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 85 {"error":"The user doesn't have the required roles!","code":403,"status":"Forbidden"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_bar b/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_bar index 6296b70ee7..949fe2e247 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_bar +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_bar @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "BAR" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_baz b/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_baz index 77a20001c1..e7e8cf67e4 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_baz +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_baz @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 10 "BAZZZZZZ" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_foo b/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_foo index 01df667aa2..fb1b1dcd70 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_foo +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpMultiControllerTest/testSequentialControllerRegistration/GET_foo @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 6 "FOO2" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpNotFoundTest/testThrowingNotFound/GET_foo-x=1 b/rapidoid-integration-tests/src/test/resources/test-results/HttpNotFoundTest/testThrowingNotFound/GET_foo-x=1 index ddf33e3db0..f0d3c97627 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpNotFoundTest/testThrowingNotFound/GET_foo-x=1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpNotFoundTest/testThrowingNotFound/GET_foo-x=1 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 9 {"x":"1"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_comedy_ref45 b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_comedy_ref45 index 3de3a73cbb..606bc28f39 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_comedy_ref45 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_comedy_ref45 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 24 {"_f":"comedy","n":"45"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_drama_ref3_ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_drama_ref3_ index 27794be22c..985d101e5a 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_drama_ref3_ +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/DELETE_tags_drama_ref3_ @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 22 {"_f":"drama","n":"3"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_123 b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_123 index e8aedb5416..c98b209784 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_123 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_123 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 12 {"id":"123"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_1_ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_1_ index 436732fbaf..1f983e58b8 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_1_ +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/GET_movies_1_ @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 10 {"id":"1"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_a_ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_a_ index 235d23bc93..d13a00df49 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_a_ +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_a_ @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 9 {"x":"a"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_abc-def b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_abc-def index ecd87b1566..2729185d80 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_abc-def +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/POST_users_abc-def @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 15 {"x":"abc-def"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_12df_abc b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_12df_abc index ed56dc2539..b0e3c5ae1c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_12df_abc +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_12df_abc @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 13 {"__":"12df"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_x-y-z_abc_ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_x-y-z_abc_ index 121c767518..2211ed2595 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_x-y-z_abc_ +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPathMatchingTest/testHttpPathMatching/PUT_books_x-y-z_abc_ @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 14 {"__":"x-y-z"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_a b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_a index 836b98e22b..9ed1950aea 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_a +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "foo" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_b b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_b index 648fd0503e..2756d9f5b8 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_b +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/GET_b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "bar" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/POST_x b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/POST_x index 717382c385..71f37d4b88 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/POST_x +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlers/POST_x @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 3 "x" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlersWithIoC/GET_b b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlersWithIoC/GET_b index 648fd0503e..2756d9f5b8 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlersWithIoC/GET_b +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpPojoControllerTest/testPojoHandlersWithIoC/GET_b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "bar" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/GET_inc-x=5 b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/GET_inc-x=5 index 4905515bf3..23958785b9 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/GET_inc-x=5 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/GET_inc-x=5 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 7 "next6" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/POST_dec-x=12 b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/POST_dec-x=12 index 577541a2a5..c3a2f6d1e6 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/POST_dec-x=12 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerDeregistration/POST_dec-x=12 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 2 11 \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=100 b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=100 index f57ff398b7..bd47a0427e 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=100 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=100 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 10 "nextA101" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=200 b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=200 index 9da8f1cbfd..db554e199a 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=200 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=200 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 10 "nextB201" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=300 b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=300 index 2de1509c4e..b801051bc7 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=300 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpReregistrationTest/testControllerReregistration/GET_inc-x=300 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 10 "nextC301" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_a b/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_a index d58fbe8210..7c7dcd111d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_a +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_a @@ -2,7 +2,7 @@ HTTP/1.1 403 Forbidden Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 85 {"error":"The user doesn't have the required roles!","code":403,"status":"Forbidden"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_ok b/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_ok index b3bb13b15b..bbd8b22ab6 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_ok +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpRolesTest/testRoles/GET_ok @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 4 "ok" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpStaticFilesTest/serveStaticFiles/GET_c b/rapidoid-integration-tests/src/test/resources/test-results/HttpStaticFilesTest/serveStaticFiles/GET_c index bdb1494bff..881a50384e 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpStaticFilesTest/serveStaticFiles/GET_c +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpStaticFilesTest/serveStaticFiles/GET_c @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 8 override \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/GET_allBooks b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/GET_allBooks index 0d180b191f..2f4d6bd46f 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/GET_allBooks +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/GET_allBooks @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 59 [{"id":1,"title":"My Book 1"},{"id":2,"title":"My Book 2"}] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=a b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=a index eddb48fd49..a69b85044c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=a +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 28 {"id":1,"title":"My Book 1"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=b b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=b index 57de23a824..4b22d6fb97 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=b +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_books-title=b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 28 {"id":2,"title":"My Book 2"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=1 b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=1 index 2c72e63a0c..6a26d2365e 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=1 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 40 ["DEL 1",[{"id":2,"title":"My Book 2"}]] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=2 b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=2 index 760c042440..422ce7bcc2 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=2 +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpTransactionTest/testWebTx/POST_del-id=2 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 12 ["DEL 2",[]] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpWrappersTest/testWrappers/POST_x b/rapidoid-integration-tests/src/test/resources/test-results/HttpWrappersTest/testWrappers/POST_x index 4b173068af..6cab127bd8 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpWrappersTest/testWrappers/POST_x +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpWrappersTest/testWrappers/POST_x @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 16 "x(/x:x2(/x:X))" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_a b/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_a index 0a4e78cbd3..8309564fe6 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_a +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 95 {"cdn":"auto","contextPath":"","fluid":false,"home":"/","menu":{},"navbar":true,"search":false} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_b b/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_b index 80bf327450..be038fbebb 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_b +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 647 {"brand":" Admin","cdn":"auto","contextPath":"","fluid":false,"home":"/_","menu":{"Overview":"/_","Application":{"Routes":"/_/routes","Beans":"/_/beans","Configuration":"/_/config","Deploy":"/_/deploy","Terminate / Restart":"/_/terminate"},"Data":{"Entities":"/_/entities"},"Details":{"Metrics":"/_/metrics","Classpath":"/_/classpath"},"JMX":{"Memory pool":"/_/jmx/mempool","JVM Threads":"/_/jmx/threads","Operating system":"/_/jmx/os","Garbage collection":"/_/jmx/gc","Memory":"/_/jmx/memory","Runtime":"/_/jmx/runtime","Classes":"/_/jmx/classes","Compilation":"/_/jmx/compilation"}},"navbar":true,"search":false} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_c b/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_c index 0a4e78cbd3..8309564fe6 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_c +++ b/rapidoid-integration-tests/src/test/resources/test-results/HttpZoneTest/testMainZone/GET_c @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 95 {"cdn":"auto","contextPath":"","fluid":false,"home":"/","menu":{},"navbar":true,"search":false} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks index 8d779da05a..a92e910bcf 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 88 [{"id":1,"title":"My Book 1"},{"id":2,"title":"My Book 2"},{"id":3,"title":"My Book 3"}] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks-finally b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks-finally index 11655f8d15..ceeeca3df3 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks-finally +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_allBooks-finally @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 30 [{"id":3,"title":"My Book 3"}] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_del-id=1 b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_del-id=1 index a5908806b6..f29cbe066d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_del-id=1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/GET_del-id=1 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 24 ["DEL #1","2 remaining"] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=a b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=a index eddb48fd49..a69b85044c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=a +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 28 {"id":1,"title":"My Book 1"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=b b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=b index 57de23a824..4b22d6fb97 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=b +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 28 {"id":2,"title":"My Book 2"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=c b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=c index 4be00dd7e8..6c7cf79b68 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=c +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_books-title=c @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 28 {"id":3,"title":"My Book 3"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del3-id=3 b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del3-id=3 index fe9603bac5..854b54b0d5 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del3-id=3 +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del3-id=3 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 24 ["DEL #3","0 remaining"] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del4-id=3 b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del4-id=3 index bb635a76e9..619d2b8e75 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del4-id=3 +++ b/rapidoid-integration-tests/src/test/resources/test-results/JPAInjectionTest/testJPAInjection/POST_del4-id=3 @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 107 {"error":"Cannot perform writes inside read-only transaction!","code":500,"status":"Internal Server Error"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPOST/POST_movie b/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPOST/POST_movie index 1a51212495..e633302a3f 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPOST/POST_movie +++ b/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPOST/POST_movie @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 34 {"title":"test title","year":1999} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPUT/PUT_movie b/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPUT/PUT_movie index 1a51212495..e633302a3f 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPUT/PUT_movie +++ b/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONParsingWithoutJsonHeaderPUT/PUT_movie @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 34 {"title":"test title","year":1999} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONRendering/GET_ b/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONRendering/GET_ index 19cbd71fd3..32e7300e1a 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONRendering/GET_ +++ b/rapidoid-integration-tests/src/test/resources/test-results/JSONRenderingTest/testJSONRendering/GET_ @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 29 {"title":"Rambo","year":1990} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/LambdaHandlerTest/testLambdaHandlerWithAnonymousClass/GET_test-x=123 b/rapidoid-integration-tests/src/test/resources/test-results/LambdaHandlerTest/testLambdaHandlerWithAnonymousClass/GET_test-x=123 index ae6cb59308..8be0594dac 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/LambdaHandlerTest/testLambdaHandlerWithAnonymousClass/GET_test-x=123 +++ b/rapidoid-integration-tests/src/test/resources/test-results/LambdaHandlerTest/testLambdaHandlerWithAnonymousClass/GET_test-x=123 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 7 "x=123" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testHandlerLambdaParams/GET_-x=10&b=33 b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testHandlerLambdaParams/GET_-x=10&b=33 index 8ea05fb2c4..c12d912150 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testHandlerLambdaParams/GET_-x=10&b=33 +++ b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testHandlerLambdaParams/GET_-x=10&b=33 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 12 "100:200:10" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams1/GET_foo-a=10 b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams1/GET_foo-a=10 index cd9db99aa4..18113b3919 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams1/GET_foo-a=10 +++ b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams1/GET_foo-a=10 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 4 10.0 \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams2/GET_foo-a=10&b=20 b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams2/GET_foo-a=10&b=20 index baf8f6fd8b..a9a482402d 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams2/GET_foo-a=10&b=20 +++ b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams2/GET_foo-a=10&b=20 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 11 "10.0:20.0" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams3/GET_foo-a=10&b=20&c=30 b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams3/GET_foo-a=10&b=20&c=30 index 9f36c6b169..a835a606bb 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams3/GET_foo-a=10&b=20&c=30 +++ b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams3/GET_foo-a=10&b=20&c=30 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 16 "10.0:20.0:30.0" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams4/GET_foo-a=10&b=20&c=30&d=40 b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams4/GET_foo-a=10&b=20&c=30&d=40 index 01245e9058..0f9c4b5fde 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams4/GET_foo-a=10&b=20&c=30&d=40 +++ b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams4/GET_foo-a=10&b=20&c=30&d=40 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 21 "10.0:20.0:30.0:40.0" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams5/GET_foo-a=10&b=20&c=30&d=40&e=50 b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams5/GET_foo-a=10&b=20&c=30&d=40&e=50 index 590dcebede..62a2447aaf 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams5/GET_foo-a=10&b=20&c=30&d=40&e=50 +++ b/rapidoid-integration-tests/src/test/resources/test-results/LambdaParamNamesTest/testLambdaParams5/GET_foo-a=10&b=20&c=30&d=40&e=50 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 26 "10.0:20.0:30.0:40.0:50.0" \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_1 b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_1 index 2cedd856b3..d3d7db3eef 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_1 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 2 {} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_200 b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_200 index 3c307a4423..226a3fcfc2 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_200 +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/DELETE_books_200 @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 84 {"error":"Cannot find Book with ID=200","code":500,"status":"Internal Server Error"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-a b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-a index bfec505745..120780b0f2 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-a +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 2 [] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-b b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-b index 54b04b6b1d..30a1f43e29 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-b +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 47 [{"id":1,"title":"foo"},{"id":2,"title":"bar"}] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-c b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-c index 957764788d..65bb63e52c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-c +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-c @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 47 [{"id":1,"title":"abc"},{"id":2,"title":"bar"}] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-d b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-d index 36399e6694..6806a45eae 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-d +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books-d @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 24 [{"id":2,"title":"bar"}] \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1 b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1 index afb799921c..7c55e5b01c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 22 {"id":1,"title":"foo"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-b b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-b index 298848b360..0ceefd95d3 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-b +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 22 {"id":1,"title":"abc"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-c b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-c index 4995f2f315..c85f1a7213 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-c +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/GET_books_1-c @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 82 {"error":"Cannot find Book with ID=1","code":500,"status":"Internal Server Error"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-a b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-a index afb799921c..7c55e5b01c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-a +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 22 {"id":1,"title":"foo"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-b b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-b index 4446fbfec4..d4aac03a7c 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-b +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/POST_books-b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 22 {"id":2,"title":"bar"} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_1 b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_1 index 2cedd856b3..d3d7db3eef 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_1 +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_1 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 2 {} \ No newline at end of file diff --git a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_100 b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_100 index 0a07d0454f..83af34cf99 100644 --- a/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_100 +++ b/rapidoid-integration-tests/src/test/resources/test-results/XTest/testXQueries/PUT_books_100 @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 84 {"error":"Cannot find Book with ID=100","code":500,"status":"Internal Server Error"} \ No newline at end of file diff --git a/rapidoid-net/src/test/java/org/rapidoid/net/mime/MediaTypeTest.java b/rapidoid-net/src/test/java/org/rapidoid/net/mime/MediaTypeTest.java index 4430df0a87..854ebf8eeb 100644 --- a/rapidoid-net/src/test/java/org/rapidoid/net/mime/MediaTypeTest.java +++ b/rapidoid-net/src/test/java/org/rapidoid/net/mime/MediaTypeTest.java @@ -44,8 +44,8 @@ public void testCommonMediaTypes() { eq(new String(MediaType.CSS_UTF_8.getBytes()), "text/css; charset=utf-8"); eq(MediaType.getByFileExtension("css"), MediaType.CSS_UTF_8); - eq(new String(MediaType.JSON_UTF_8.getBytes()), "application/json; charset=utf-8"); - eq(MediaType.getByFileExtension("json"), MediaType.JSON_UTF_8); + eq(new String(MediaType.JSON.getBytes()), "application/json"); + eq(MediaType.getByFileExtension("json"), MediaType.JSON); eq(new String(MediaType.JAVASCRIPT_UTF8.getBytes()), "application/javascript; charset=utf-8"); eq(MediaType.getByFileExtension("js"), MediaType.JAVASCRIPT_UTF8); diff --git a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-id=200 b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-id=200 index 44a494f8e8..c809ccbb17 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-id=200 +++ b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-id=200 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 38 [200,null,{"id":200,"name":null},null] \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Einstein&id=1000 b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Einstein&id=1000 index e6bfe34b57..d12f5074b8 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Einstein&id=1000 +++ b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Einstein&id=1000 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 52 [1000,"Einstein",{"id":1000,"name":"Einstein"},null] \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Mozart b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Mozart index 273e9c48dd..1aa327d625 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Mozart +++ b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testBeanParams/GET_pers-name=Mozart @@ -2,7 +2,7 @@ HTTP/1.1 500 Internal Server Error Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 82 {"error":"DATA[id] must NOT be null!","code":500,"status":"Internal Server Error"} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testPrimitiveLambdaParams/GET_foo-a=10&b=20&c=30 b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testPrimitiveLambdaParams/GET_foo-a=10&b=20&c=30 index 9f36c6b169..a835a606bb 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testPrimitiveLambdaParams/GET_foo-a=10&b=20&c=30 +++ b/rapidoid-web/src/test/resources/test-results/HttpBeanParamsTest/testPrimitiveLambdaParams/GET_foo-a=10&b=20&c=30 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 16 "10.0:20.0:30.0" \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpErrorHandlerTest/testErrorHandler2/GET_err2-x=2 b/rapidoid-web/src/test/resources/test-results/HttpErrorHandlerTest/testErrorHandler2/GET_err2-x=2 index 3f9ce11e55..534cf57180 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpErrorHandlerTest/testErrorHandler2/GET_err2-x=2 +++ b/rapidoid-web/src/test/resources/test-results/HttpErrorHandlerTest/testErrorHandler2/GET_err2-x=2 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 51 "GET /err2?x=2:err2:java.lang.NullPointerException" \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/GET_x b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/GET_x index f1c21e196d..99261d1c32 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/GET_x +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/GET_x @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 46 {"verb":"GET","uri":"/x","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/POST_y b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/POST_y index d73eef4bbe..f85ae67469 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/POST_y +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test10/POST_y @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 47 {"verb":"POST","uri":"/y","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/GET_x b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/GET_x index f1c21e196d..99261d1c32 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/GET_x +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/GET_x @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 46 {"verb":"GET","uri":"/x","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/POST_y b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/POST_y index d73eef4bbe..f85ae67469 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/POST_y +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test11/POST_y @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 47 {"verb":"POST","uri":"/y","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/GET_x b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/GET_x index f1c21e196d..99261d1c32 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/GET_x +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/GET_x @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 46 {"verb":"GET","uri":"/x","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/POST_y b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/POST_y index d73eef4bbe..f85ae67469 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/POST_y +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test12/POST_y @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 47 {"verb":"POST","uri":"/y","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/GET_x b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/GET_x index f1c21e196d..99261d1c32 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/GET_x +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/GET_x @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 46 {"verb":"GET","uri":"/x","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/POST_y b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/POST_y index d73eef4bbe..f85ae67469 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/POST_y +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test13/POST_y @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 47 {"verb":"POST","uri":"/y","data":{},"code":200} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test2/GET_test2 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test2/GET_test2 index 2694894232..1ac76a47bb 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test2/GET_test2 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test2/GET_test2 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 7 123.456 \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test3/POST_test3 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test3/POST_test3 index 9cd9b45af5..85cebc6d80 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test3/POST_test3 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test3/POST_test3 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 8 "ABC DE" \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test4/PUT_test4 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test4/PUT_test4 index 87b764ff7c..9342b20a2a 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test4/PUT_test4 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test4/PUT_test4 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 12345 \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test5/DELETE_test5 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test5/DELETE_test5 index 19a710210e..2171c6ff60 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test5/DELETE_test5 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test5/DELETE_test5 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 4 true \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test6/GET_test6 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test6/GET_test6 index d0cca8eea5..7ca5911a7a 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test6/GET_test6 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test6/GET_test6 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 13 {"a":1,"b":2} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test7/POST_test7 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test7/POST_test7 index c1b8b7347f..75fd68cf04 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test7/POST_test7 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test7/POST_test7 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 14 ["a",123,true] \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test8/PUT_test8 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test8/PUT_test8 index 2575ac568a..7ddbfa808e 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test8/PUT_test8 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test8/PUT_test8 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 13 ["b",0,false] \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test9/DELETE_test9 b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test9/DELETE_test9 index 98273bfbc9..5492dc4dd7 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test9/DELETE_test9 +++ b/rapidoid-web/src/test/resources/test-results/HttpPojoApiTest/test9/DELETE_test9 @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 8 50505050 \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpRawBodyTest/testByteBufferResponse/GET_buf b/rapidoid-web/src/test/resources/test-results/HttpRawBodyTest/testByteBufferResponse/GET_buf index 3362d20605..50b2d195d7 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpRawBodyTest/testByteBufferResponse/GET_buf +++ b/rapidoid-web/src/test/resources/test-results/HttpRawBodyTest/testByteBufferResponse/GET_buf @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 21 {"byte-buffer": true} \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpRedirectTest/testRedirectWithCustomCode/GET_redir2 b/rapidoid-web/src/test/resources/test-results/HttpRedirectTest/testRedirectWithCustomCode/GET_redir2 index 2c90f929a0..b4a654cc43 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpRedirectTest/testRedirectWithCustomCode/GET_redir2 +++ b/rapidoid-web/src/test/resources/test-results/HttpRedirectTest/testRedirectWithCustomCode/GET_redir2 @@ -2,7 +2,7 @@ HTTP/1.1 302 Found Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Location: /target2 Content-Length: 0 diff --git a/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_a b/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_a index 836b98e22b..9ed1950aea 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_a +++ b/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_a @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "foo" \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_num-a=1&b=2&c=3&d=4&e=5&f=12.345&g=9.81&h=true&i=false&j=abc b/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_num-a=1&b=2&c=3&d=4&e=5&f=12.345&g=9.81&h=true&i=false&j=abc index 83fde8d2d5..0dd567a3f8 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_num-a=1&b=2&c=3&d=4&e=5&f=12.345&g=9.81&h=true&i=false&j=abc +++ b/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/GET_num-a=1&b=2&c=3&d=4&e=5&f=12.345&g=9.81&h=true&i=false&j=abc @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 38 "1:2:3:4:5:12.345:9.81:true:false:abc" \ No newline at end of file diff --git a/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/POST_b b/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/POST_b index 648fd0503e..2756d9f5b8 100644 --- a/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/POST_b +++ b/rapidoid-web/src/test/resources/test-results/HttpRootPojoControllerTest/testRootPojoHandler/POST_b @@ -2,7 +2,7 @@ HTTP/1.1 200 OK Connection: keep-alive Server: Rapidoid Date: XXXXX GMT -Content-Type: application/json; charset=utf-8 +Content-Type: application/json Content-Length: 5 "bar" \ No newline at end of file