ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-11310) Views: URLStreamProvider.readFrom requires body, no way to do GET request
Date Thu, 21 May 2015 17:50:17 GMT
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)

Mime
View raw message