Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyucht committed Aug 28, 2023
1 parent 75592dd commit e2aca56
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ private Response computeResponse(Request in, CloseableHttpResponse response) thr
boolean streamResponse =
in.getHeaders().containsKey("Accept")
&& !APPLICATION_JSON.getMimeType().equals(in.getHeaders().get("Accept"))
&& !APPLICATION_JSON.getMimeType().equals(response.getFirstHeader("Content-Type").getValue());
&& !APPLICATION_JSON
.getMimeType()
.equals(response.getFirstHeader("Content-Type").getValue());
if (streamResponse) {
CustomCloseInputStream inputStream =
new CustomCloseInputStream(
Expand Down

0 comments on commit e2aca56

Please sign in to comment.