Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2965

JSON responses have Content-Type "application/text" instead of "application/json"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.0.RC1
    • Fix Version/s: 1.2.0.RELEASE
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      According to section 6 of RFC 4627, the correct MIME media type for JSON responses is "application/json", however the JSON-generating methods created by Roo set the HTTP "Content-Type" header to "application/text".

        Attachments

          Activity

            People

            • Assignee:
              aswan Andrew Swan
              Reporter:
              aswan Andrew Swan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: