mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
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:
committed by
GitHub
co-authored by
github-actions[bot]
parent
86626a6046
commit
cb72ac747f
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user