Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-270

Configured headers can override headers added by the corresponding endpoint

XMLWordPrintable

    • Hide

      Execute the following cli commands:

      /core-service=management/management-interface=http-interface:write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=Connection, value=abc}, {name=Date, value=abcd}]}])
      
      reload
      

      And try:

      curl -v http://localhost:9990/management
      
      Show
      Execute the following cli commands: /core-service=management/management- interface =http- interface :write-attribute(name=constant-headers, value=[{path=/management, headers=[{name=Connection, value=abc}, {name=Date, value=abcd}]}]) reload And try: curl -v http: //localhost:9990/management

      Analysis document 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.

              darran.lofthouse@redhat.com Darran Lofthouse
              tterem@redhat.com Tomas Terem (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: