You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2013/12/12 16:42:09 UTC

[jira] [Commented] (JCLOUDS-405) PATCH method does not work in HTTPS connections

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

Ignasi Barrera commented on JCLOUDS-405:
----------------------------------------

Patch: https://github.com/jclouds/jclouds/pull/230

> PATCH method does not work in HTTPS connections
> -----------------------------------------------
>
>                 Key: JCLOUDS-405
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-405
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core
>    Affects Versions: 1.6.3
>            Reporter: Ignasi Barrera
>            Assignee: Ignasi Barrera
>             Fix For: 1.7.0
>
>
> The HttpURLConnection class does not allow to directly set the PATCH request method. To set it, one needs to use reflection and manually set the value of the *method* field.
> However, in HTTPS connections, the target HttpURLConnection is wrapped in a *delegate* field, and the reflection workaround does not take effect unless the method is also set in the *delegate*.
> See:
> https://java.net/jira/browse/JERSEY-639
> https://github.com/jersey/jersey/pull/45



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)