[jboss-jira] [JBoss JIRA] (WFWIP-270) Configured headers can override headers added by the corresponding endpoint
Tomas Terem (Jira)
issues at jboss.org
Tue Nov 19 04:16:00 EST 2019
[ https://issues.jboss.org/browse/WFWIP-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomas Terem updated WFWIP-270:
------------------------------
Steps to Reproduce:
Execute the following cli commands:
{code:java}
/core-service=management/management-interface=http-interface:write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=Connection, value=abc}, {name=Date, value=abcd}]}])
{code}
{code:java}
reload
{code}
And try:
{code:java}
curl -v http://localhost:9990/management
{code}
was:
Execute the following cli command:
{code:java}
/core-service=management/management-interface=http-interface:write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=Connection, value=abc}, {name=Date, value=abcd}]}])
{code}
And try:
{code:java}
curl -v http://localhost:9990/management
{code}
> Configured headers can override headers added by the corresponding endpoint
> ---------------------------------------------------------------------------
>
> Key: WFWIP-270
> URL: https://issues.jboss.org/browse/WFWIP-270
> Project: WildFly WIP
> Issue Type: Bug
> Reporter: Tomas Terem
> Assignee: Darran Lofthouse
> Priority: Blocker
> Labels: management
>
> [Analysis document|https://github.com/wildfly/wildfly-proposals/pull/263] says that
> 'Configured headers will not override any headers added by the corresponding endpoint.'
> However, I was able to override Connection and Date headers on /management endpoint.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list