• Brian Clozel's avatar
    Ignore invalid Accept headers in WebFlux error handling · 7cbbd95f
    Brian Clozel authored
    Prior to this commit, the `DefaultErrorWebExceptionHandler` would parse
    the HTTP "Accept" headers when routing the request to the error handler;
    if an error occured during parsing, an `InvalidMediaTypeException` would
    be thrown and break the error handling for this request.
    
    This commit ignores those exceptions and makes sure that the error
    handling function does not override the response status or the error
    itself with those exceptions.
    
    Closes: gh-13372
    7cbbd95f
Name
Last commit
Last update
.eclipse Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...