[ 
https://issues.apache.org/jira/browse/AMBARI-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

subin resolved AMBARI-5663.
---------------------------

    Resolution: Fixed

> 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)

Reply via email to