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

Michael Osipov edited comment on MNG-6795 at 10/27/19 8:41 PM:
---------------------------------------------------------------

It is also to mention that only a few servers allow to set the reason phrase. 
Tomcat never supported it. Other likely neither. See also [Undertow's 
documentation on 
it|http://undertow.io/javadoc/1.3.x/io/undertow/server/HttpServerExchange.html#setReasonPhrase-java.lang.String-].
 I think the resolution of WAGON-541 is just wrong.


was (Author: michael-o):
It is also to mention that only a few servers allow to set the reason phrase. 
Tomcat never supported it. Other likely neither. See also [Undertow's 
documentation on 
it](http://undertow.io/javadoc/1.3.x/io/undertow/server/HttpServerExchange.html#setReasonPhrase-java.lang.String-).
 I think the resolution of WAGON-541 is just wrong.

> define a replacement for ReasonPhrase to display details about transfert 
> failures
> ---------------------------------------------------------------------------------
>
>                 Key: MNG-6795
>                 URL: https://issues.apache.org/jira/browse/MNG-6795
>             Project: Maven
>          Issue Type: Task
>          Components: Artifacts and Repositories
>    Affects Versions: 3.3.9, 3.6.3
>            Reporter: Herve Boutemy
>            Priority: Major
>             Fix For: 3.7.0-candidate
>
>
> as documented in WAGON-541 
> [372aa52c80c2f7b458c095d837e15ebeafbdf0b7|https://gitbox.apache.org/repos/asf?p=maven-wagon.git&a=commit&h=372aa52c80c2f7b458c095d837e15ebeafbdf0b7],
>  ReasonPhrase has been removed from HTTP/2 and deprecated (optional) in 
> HTTP/1.1 for more than five years. It is useful to give detailed error 
> messages on artifact transfert errors with a repository manager.
> A replacement has to be found



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to