You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Greg Hill (JIRA)" <ji...@apache.org> on 2014/06/26 21:13:24 UTC

[jira] [Created] (AMBARI-6292) Python client caches curl flags between requests causing problems

Greg Hill created AMBARI-6292:
---------------------------------

             Summary: Python client caches curl flags between requests causing problems
                 Key: AMBARI-6292
                 URL: https://issues.apache.org/jira/browse/AMBARI-6292
             Project: Ambari
          Issue Type: Bug
          Components: client
            Reporter: Greg Hill


Currently if you use the python client, if you issue a DELETE request followed by a GET request, that GET request becomes a DELETE request.  You can imagine why that's undesirable.

The problem is that we set the CUSTOMREQUEST field on the DELETE, but we don't unset it on the next GET.  pycurl sees it still set and assumes we're still doing a DELETE.



--
This message was sent by Atlassian JIRA
(v6.2#6252)