Skip to content
Snippets Groups Projects
Commit fe1d2bb3 authored by Mathieu.Vonlanthen's avatar Mathieu.Vonlanthen
Browse files

fix(DLCMTestDocHelper): remove charset from content type

parent 9da05736
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@ package ch.dlcm.test.executor;
import static org.hamcrest.CoreMatchers.endsWith;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
......@@ -25,9 +24,9 @@ import ch.dlcm.rest.ResourceName;
*/
public class DLCMTestDocHelper {
public static final MediaType JSON_MEDIA_TYPE = new MediaType("application", "json", Charset.forName("UTF-8"));
public static final MediaType HAL_JSON_MEDIA_TYPE = new MediaType("application", "hal+json", Charset.forName("UTF-8"));
public static final MediaType HTML_MEDIA_TYPE = new MediaType("text", "html", Charset.forName("UTF-8"));
public static final MediaType JSON_MEDIA_TYPE = new MediaType("application", "json");
public static final MediaType HAL_JSON_MEDIA_TYPE = new MediaType("application", "hal+json");
public static final MediaType HTML_MEDIA_TYPE = new MediaType("text", "html");
/* Applications routes */
public static final String APPLICATION_ROOT = SolidifyConstants.URL_SEP;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment