We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41528c3 commit 31d6ddaCopy full SHA for 31d6dda
src/main/java/com/amadeus/Response.java
@@ -173,7 +173,7 @@ private boolean isJson() {
173
private boolean hasJsonHeader() {
174
String contentType = getRequest().getConnection().getHeaderField(Constants.CONTENT_TYPE);
175
String[] expectedContentTypes = new String[] {
176
- "application/json", "application/vnd.amadeus+json"
+ "application/json", "application/vnd.amadeus+json"
177
};
178
return Arrays.asList(expectedContentTypes).contains(contentType);
179
}
0 commit comments