You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Woonsan Ko (Jira)" <ji...@apache.org> on 2022/02/21 08:45:00 UTC

[jira] [Created] (JCR-4766) JcrRemotingServlet should write application/json content for JSON response

Woonsan Ko created JCR-4766:
-------------------------------

             Summary: JcrRemotingServlet should write application/json content for JSON response
                 Key: JCR-4766
                 URL: https://issues.apache.org/jira/browse/JCR-4766
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-server
    Affects Versions: 2.21.10
            Reporter: Woonsan Ko


When retrieving a JCR node using JSON binding like the following by appending '.json' to the path, the content-type of the response should have been {{application/json}}, instead of the current {{text/plain;charset=utf-8}}.

{{GET http://localhost:8080/server/default/jcr:root/hello.json}}




--
This message was sent by Atlassian Jira
(v8.20.1#820001)