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

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

XMLWordPrintable

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

      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:

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

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

                Created:
                Updated:
                Resolved: