Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1416

modeshape-rest query results have content-type: text/html instead of application/json

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.0.Beta1
    • 2.8.0.Final
    • Server
    • RHEL5, JBoss AS 6 Kit.

      When performing a JCR SQL2 query using the REST service, the results have content-type text/html instead of application/json.

      This does not cause a problem per-se, but when using REST client tools (like the FireFox RESTClient add-on), it prevents the tool from formatting the result as JSON which helps readability.

              hchiorean Horia Chiorean (Inactive)
              jonathandfields_jira Jonathan Fields (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: