[
https://issues.apache.org/jira/browse/MNG-6795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17280595#comment-17280595
]
Tobias Crawley commented on MNG-6795:
-------------------------------------
I am one of the maintainers of clojars.org, a repository of OSS libraries for
the Clojure community. We currently use ReasonPhrase to return additional
context with failed deployments that are intended to be read by the user and
not parsed programmatically. We currently use [a deprecated method in
Jetty|https://www.eclipse.org/jetty/javadoc/jetty-11/org/eclipse/jetty/server/Response.html#setStatus(int,java.lang.String)]
to set it. I would much prefer another way to provide this context; a header
that is treated as a plaintext string and displayed by the wagon in place of
ReasonPhrase would work well for us.
> 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: 4.0.x-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)