Files
spring-boot/spring-boot-project
Brian Clozel 1738e0c743 Reply with HTTP 415 for unsupported GraphQL content-type
Prior to this commit, the configured GraphQL routes would reply with an
HTTP 404 status when a POST request is sent with an unsupported content
type, such as "text/plain". While such requests are not supported in the
first place, we should help developers and let them know that the
content type sent is the problem.

This commit configures new routes that reply with HTTP 415 "Unsupported
Media Type" for these cases.

Closes gh-41675
2024-08-01 14:29:45 +02:00
..
2024-07-30 13:06:48 +01:00
2024-07-25 18:31:44 +01:00
2024-07-31 11:37:02 +01:00
2024-07-25 16:17:52 +01:00
2024-07-31 17:04:21 +02:00