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

How behave getContentType() and why it returns null?

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Done
    • Minor
    • 1.1.Beta4
    • 1.1.Beta3
    • Servlet
    • None

    Description

      I retrieve the content type with HttpServletResponse#getContentType() when filtering the request inside my ServletFilter but the result is always a null value. Not sure this is a bug since I'm not really sure this is the best way to do. However, in my tests only undertow returns null (not tomcat and jetty).

      Can you explain when and why getContentType() returns null with undertow ?

      Thanks

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            gdrouet Guillaume Drouet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: