You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/12/25 20:50:58 UTC
[jira] [Created] (WAGON-475) TransferEvent GET used instead of PUT
and vice versa
Michael Osipov created WAGON-475:
------------------------------------
Summary: TransferEvent GET used instead of PUT and vice versa
Key: WAGON-475
URL: https://issues.apache.org/jira/browse/WAGON-475
Project: Maven Wagon
Issue Type: Bug
Components: wagon-http, wagon-scm, wagon-webdav
Affects Versions: 2.11
Reporter: Michael Osipov
{{TransferEvent}} has {{REQUEST_GET}} and {{REQUEST_PUT}} which are intended to be used for read ({{GET}}) and write ({{PUT}}) access. Some code spots use the opposite which is apparently the wrong status:
{{REQUEST_GET}} instead of {{REQUEST_PUT}}:
- http.AbstractHttpClientWagon: 562, 566
- webdav.AbstractHttpClientWagon: 361
- scm.ScmWagon: 412, 418
{{REQUEST_PUT}} instead of {{REQUEST_GET}}:
- scm.ScmWagon: 412, 468
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)