Tom Beerbower created AMBARI-11310:
--------------------------------------

             Summary: Views: URLStreamProvider.readFrom requires body, no way 
to do GET request
                 Key: AMBARI-11310
                 URL: https://issues.apache.org/jira/browse/AMBARI-11310
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower
             Fix For: 2.1.0


Currently readFrom method from ViewURLStreamProvider contains code
{noformat}
return getInputStream(spec, requestMethod, headers, body.getBytes());
{noformat}
hence, no way to pass null body.

Sending even empty body marks all GET requests as POST. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to