Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DLCM-Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DLCM
Community
DLCM-Backend
Commits
fe1d2bb3
Commit
fe1d2bb3
authored
5 years ago
by
Mathieu.Vonlanthen
Browse files
Options
Downloads
Patches
Plain Diff
fix(DLCMTestDocHelper): remove charset from content type
See
https://github.com/spring-projects/spring-framework/issues/22788
parent
9da05736
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DLCM-TestDocs/src/main/java/ch/dlcm/test/executor/DLCMTestDocHelper.java
+3
-4
3 additions, 4 deletions
...rc/main/java/ch/dlcm/test/executor/DLCMTestDocHelper.java
with
3 additions
and
4 deletions
DLCM-TestDocs/src/main/java/ch/dlcm/test/executor/DLCMTestDocHelper.java
+
3
−
4
View file @
fe1d2bb3
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment