You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (Moved) (JIRA)" <ji...@apache.org> on 2011/10/12 02:15:12 UTC

[jira] [Moved] (HADOOP-7735) webhdfs returns two content-type headers

     [ https://issues.apache.org/jira/browse/HADOOP-7735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE moved HDFS-2423 to HADOOP-7735:
------------------------------------------------------

    Affects Version/s:     (was: 0.20.205.0)
                       0.20.205.0
                  Key: HADOOP-7735  (was: HDFS-2423)
              Project: Hadoop Common  (was: Hadoop HDFS)
    
> webhdfs returns two content-type headers
> ----------------------------------------
>
>                 Key: HADOOP-7735
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7735
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>
> $ 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