[ 
https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126909#comment-13126909
 ] 

Hudson commented on HDFS-2441:
------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1151 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1151/])
    HDFS-2441. Remove the Content-Type set by HttpServer.QuotingInputFilter in 
webhdfs responses.

szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183081
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java

                
> webhdfs returns two content-type headers
> ----------------------------------------
>
>                 Key: HDFS-2441
>                 URL: https://issues.apache.org/jira/browse/HDFS-2441
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.20.205.1, 0.24.0
>
>         Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch
>
>
> $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS";
> HTTP/1.1 200 OK
> Content-Type: text/html; charset=utf-8
> Expires: Thu, 01-Jan-1970 00:00:00 GMT
> ........
> Content-Type: application/json
> Transfer-Encoding: chunked
> Server: Jetty(6.1.26)
> It should only return one content type header = application/json

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

        

Reply via email to