Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-562

Content-Type header in http response has wrong value

XMLWordPrintable

    • Hide

      Simple Curl command accessing the servlet, that returns after setting content type.
      For ex., on the server side
      response.setContentType(JWKSet.MIME_TYPE);

      Show
      Simple Curl command accessing the servlet, that returns after setting content type. For ex., on the server side response.setContentType(JWKSet.MIME_TYPE);

      Content type returned by HttpServletResponseImpl has no whitespace between application/jwk-set+json; and charset=UTF-8

      Wrong Value
      Content-Type: application/jwk-set+json;charset=UTF-8

      Expected Right Value
      Content-Type: application/jwk-set+json; charset=UTF-8

      Notice the blank space.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              nsriram_jira Sriram N (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: