[
https://issues.apache.org/jira/browse/WAGON-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed WAGON-475.
--------------------------------
Resolution: Fixed
Fixed with
[e89c03a15d3fb0450abbd85fed45872f64686fc1|https://git-wip-us.apache.org/repos/asf?p=maven-wagon.git;a=commit;h=e89c03a15d3fb0450abbd85fed45872f64686fc1].
> 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
> Assignee: Michael Osipov
> Fix For: 2.12
>
>
> {{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)