Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8909

Enable support for the content-type 'application/problem+json' in the Error Responses

    XMLWordPrintable

Details

    • Enable support for the content-type
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 0
    • 0% 0%

    Description

      A customer wants to use content-type: application/problem+json which is recommend in RFC9457 - Problem Details for HTTP APIs.
      The value is invalid in error response settings because + isn't listed in this regex.

        HTTP_HEADER =  /\A[{}\[\]\d,.;@#~%&()?\w_"= \/\\:-]+\Z
      

      Let's take this opportunity to allow the response code field to accept multiline/json text.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-tkonishi Takayuki Konishi
              Martin Kudlej Martin Kudlej
              Luis Villen Jaldon Luis Villen Jaldon
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated: