[jboss-jira] [JBoss JIRA] (WFLY-13216) /openapi throws 406 when Accept header is sufficiently complex

Paul Ferraro (Jira) issues at jboss.org
Tue Mar 10 16:39:50 EDT 2020


     [ https://issues.redhat.com/browse/WFLY-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ferraro updated WFLY-13216:
--------------------------------
    Description: 
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.

  was:
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.



> /openapi throws 406 when Accept header is sufficiently complex
> --------------------------------------------------------------
>
>                 Key: WFLY-13216
>                 URL: https://issues.redhat.com/browse/WFLY-13216
>             Project: WildFly
>          Issue Type: Bug
>          Components: MP OpenAPI
>    Affects Versions: 19.0.0.Beta3
>            Reporter: Paul Ferraro
>            Assignee: Paul Ferraro
>            Priority: Blocker
>
> 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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list