Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18924

/openapi throws 406 when Accept header is sufficiently complex

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.4.0.CD19
    • 7.4.0.CD19
    • MP OpenAPI
    • None

      When accessing /openapi endpoint via Chrome, the following Accept header is sent:

      Accept : text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
      

      This should return a yaml document, as */* is acceptable, though lower priority than, say, text/html.

      This currently returns a 406 error.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: