[ https://issues.apache.org/jira/browse/MRESOLVER-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880686#comment-17880686 ]
ASF GitHub Bot commented on MRESOLVER-600: ------------------------------------------ doddi commented on PR #576: URL: https://github.com/apache/maven-resolver/pull/576#issuecomment-2341212942 > @doddi is this addition to maven-resolver automatically used by Maven when dependency is upgraded, to fix https://issues.apache.org/jira/browse/MNG-6795 or does Maven require an update to benefit? Maven does not need an update to use it but It will require servers to implement the RFC at their end. This PR will throw the RFC9457 exception when an `application/problem+json` is [received](https://github.com/apache/maven-resolver/pull/576/files#diff-d0e9bc23178d1dd377f60f347f5658e2659505fa5047632b4226783ed3115ffcR44) as that is what indicates it is RFC 9457 payload. However, for those that implement RFC 9457 it is a suitable replacement and will overcome the issue with reasonPhrase and Http2 > Implement RFC 9457 > ------------------ > > Key: MRESOLVER-600 > URL: https://issues.apache.org/jira/browse/MRESOLVER-600 > Project: Maven Resolver > Issue Type: New Feature > Components: Resolver > Reporter: Mark Dodgson > Priority: Minor > > HTTP1.1 [RFC > 9112|https://www.rfc-editor.org/rfc/rfc9112.html#name-status-line] section 4 > defines the response status code to optionally include a text description > (human readable) of the reason for the status code. > There is an additional [RFC9457|https://www.rfc-editor.org/rfc/rfc9457] which > makes use of the body to inform of a reason for the error response allowing > for easier investigation. > h2. Why is this important > [RFC9113|https://www.rfc-editor.org/rfc/rfc9113] is the HTTP2 protocol > standard and the response status only considers the [status > code|https://www.rfc-editor.org/rfc/rfc9113#name-response-pseudo-header-fiel] > and not the reason phrase, as such important information can be lost in > helping the client determine a route cause of a failure. -- This message was sent by Atlassian Jira (v8.20.10#820010)