Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-699

RESTEasy: Returns HTTP Code 406 instead 400 for MIME-type '/*'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.0.4.Final
    • 3.0.3.Final
    • jaxrs
    • None

    Description

      When accepted MIME-type is specified as:

      • '/*'
      • ' /*'
      • '/* '
      • '/ *'
      • ' / *'

      , RESTEasy returns HTTP Code 406 (Unsupported media) instead of 400 (Bad request) as in other (also invalid) cases like:

      • '* /'
      • '* / '
      • '*/'
      • ' / '
      • ...

      Attachments

        Issue Links

          Activity

            People

              rsigal@redhat.com Ronald Sigal
              pjanouse@redhat.com Pavel Janousek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: