microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
355 stars 27 forks source link

Azure Container apps Filters Custom Response Headers #1181

Closed akmani-w closed 2 weeks ago

akmani-w commented 1 month ago

Please provide us with the following information:

Azure Container apps Filters Custom Headers

This issue is a: (mark with an x)

Issue description

A clear and concise description of the observed issue.

Steps to reproduce

  1. Deploy app which sends custom header
  2. see header from localhost url and container apps url

Expected behavior [What you expected to happen.]

Actual behavior [What actually happened.]

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2024-05-28 at 4 26 58 PM
akmani-w commented 1 month ago

@vturecek , @torosent Can I have any document on how request / response headers are filtered ?, Thanks in Advance

thammermann commented 4 weeks ago

Iam facing the same problem. On localhost the header are included in the request and as soon as I deploy on Azure App Container, the headers are removed on the receiving server

akmani-w commented 2 weeks ago

Envoy Does Not Allow these header x-request-header . since container app uses envoy. @thammermann https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/headers. and on a Note ACA want to go with that default behaviour.