Skip to content

Commit

Permalink
fixup! fixup! feat: also enable returning TSV #284
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer committed Aug 4, 2023
1 parent 92513ec commit 0ea1d2f
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ class AcceptHeaderModifyingRequestWrapper(
}

"JSON" -> {
log.debug { "Overwriting Accept header to ${MediaType.APPLICATION_JSON_VALUE} due to format property" }
log.debug {
"Overwriting Accept header to ${MediaType.APPLICATION_JSON_VALUE} due to format property"
}
return MediaType.APPLICATION_JSON_VALUE
}

Expand All @@ -75,7 +77,9 @@ class AcceptHeaderModifyingRequestWrapper(
}

"JSON" -> {
log.debug { "Overwriting Accept header to ${MediaType.APPLICATION_JSON_VALUE} due to format property" }
log.debug {
"Overwriting Accept header to ${MediaType.APPLICATION_JSON_VALUE} due to format property"
}
return Collections.enumeration(listOf(MediaType.APPLICATION_JSON_VALUE))
}

Expand Down

0 comments on commit 0ea1d2f

Please sign in to comment.