You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2015/05/21 19:50:17 UTC

[jira] [Created] (AMBARI-11310) Views: URLStreamProvider.readFrom requires body, no way to do GET request

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)