Update src/main/kotlin/dev/usbharu/hideout/config/JsonOrFormModelMethodProcessor.kt

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
usbharu 2023-10-10 18:52:20 +09:00 committed by GitHub
parent 86626a6046
commit cb72ac747f
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ class JsonOrFormModelMethodProcessor(
webRequest: NativeWebRequest,
binderFactory: WebDataBinderFactory?
): Any? {
val contentType = webRequest.getHeader("Content-Type").orEmpty()
logger.trace("ContentType is {}", contentType)
if (contentType.contains(isJsonRegex)) {