You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "subin (JIRA)" <ji...@apache.org> on 2014/05/02 21:45:16 UTC
[jira] [Created] (AMBARI-5663) Python Client should support HTTP
Headers
subin created AMBARI-5663:
-----------------------------
Summary: Python Client should support HTTP Headers
Key: AMBARI-5663
URL: https://issues.apache.org/jira/browse/AMBARI-5663
Project: Ambari
Issue Type: Bug
Components: client
Affects Versions: 1.6.0
Environment: RHEL
Reporter: subin
Assignee: subin
Priority: Blocker
Fix For: 1.6.0
Ambari Server now expects an additional HTTP header called "X-Requested-By" for all non-GET calls. The value can be set to anything. For example:
curl -i -H 'X-Requested-By: mycompany' -X POST -d '{"Clusters": {"version": "HDP-2.0.6"}}' --user admin:admin http://hadoop1.mycompany.com:8080/api/v1/clusters/cluster1
--
This message was sent by Atlassian JIRA
(v6.2#6252)