You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Scott Wilson (Created) (JIRA)" <ji...@apache.org> on 2011/11/06 01:46:51 UTC

[jira] [Created] (WOOKIE-286) REST API mixes up Content-Type and Accept headers when choosing resource representation

REST API mixes up Content-Type and Accept headers when choosing resource representation
---------------------------------------------------------------------------------------

                 Key: WOOKIE-286
                 URL: https://issues.apache.org/jira/browse/WOOKIE-286
             Project: Wookie
          Issue Type: Bug
          Components: Wookie REST API
    Affects Versions: 0.9.0, 0.9.1
            Reporter: Scott Wilson
             Fix For: 0.9.2


The Controller class is looking at the Content-Type of the request and not the Accept header when determining whether a request is for XML, JSON or HTML.

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