[ https://issues.apache.org/jira/browse/HDFS-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo (Nicholas), SZE resolved HDFS-2460. ------------------------------------------ Resolution: Duplicate Closing as a duplicate of HDFS-2453. > webhdfs returns content type text/html when an error is thrown, we should > return application/json > -------------------------------------------------------------------------------------------------- > > Key: HDFS-2460 > URL: https://issues.apache.org/jira/browse/HDFS-2460 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 0.20.205.0 > Reporter: Arpit Gupta > Assignee: Tsz Wo (Nicholas), SZE > > make a create call using rest api's and send an invalid value for parameter > overwrite > Actual Content type returned: > type text/html; charset=utf-8 > We should return application/json. > This seems similar to the earlier bug where we had 2 content types being > returned. We patched it for success but not for errors. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira