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:49:14 UTC
[jira] [Updated] (AMBARI-5663) Python Client should support HTTP
Headers
[ https://issues.apache.org/jira/browse/AMBARI-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
subin updated AMBARI-5663:
--------------------------
Attachment: ambari_new.patch
> 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
>
> Attachments: ambari_new.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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)