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

Thomas Graves commented on MAPREDUCE-3613:
------------------------------------------

This appears to be that the common HTTPServer class is setting the content-type 
in the doFilter routine first, then later jersey sets it to what it actually 
is.  Instead of over writing it, it appears to append it.  Need to investigate 
fix.
                
> web service calls header contains 2 content types
> -------------------------------------------------
>
>                 Key: MAPREDUCE-3613
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3613
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Blocker
>
> when doing requesting info from the web services rest API, curl seems to 
> return content-type of both text and json or xml:
> > Accept: application/xml
> >
> < HTTP/1.1 200 OK
> < Content-Type: text/plain; charset=utf-8
> < Content-Type: application/xml

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