mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-15 14:05:00 +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:
@@ -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