[ 
https://issues.apache.org/jira/browse/MRESOLVER-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881172#comment-17881172
 ] 

ASF GitHub Bot commented on MRESOLVER-600:
------------------------------------------

doddi commented on PR #576:
URL: https://github.com/apache/maven-resolver/pull/576#issuecomment-2345288505

   > I would add that to get maven-resolver to build with maven will require an 
update to 
https://github.com/apache/maven/blob/64e944792613e241b3faddcb4c793e147f6faa5e/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java#L672
 as it will now require passing in an instance of `ApacheRFC9457Reporter`
   
   Opted to move to static initialised as suggested. This has the benefit of 
now no longer changing the transporter constructors so the maven project no 
longer needs to be changed to make use of these changes. 
https://github.com/apache/maven-resolver/pull/576/commits/dad87aa411c953d36f685cce013bb3fa88474d50




> 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)

Reply via email to