jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignasi Barrera (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-405) PATCH method does not work in HTTPS connections
Date Thu, 12 Dec 2013 15:42:08 GMT
Ignasi Barrera created JCLOUDS-405:

             Summary: 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*.


This message was sent by Atlassian JIRA

View raw message