abhijeets25012-tech commented on PR #64726:
URL: https://github.com/apache/airflow/pull/64726#issuecomment-4188222200

   Thanks for the review!
   
   1️⃣ Regarding flask_app.test_client(): removing all Date headers is safe in 
tests since nothing re-adds it, and the header isn’t critical there. The main 
goal is to prevent duplicate headers in production behind Uvicorn.
   
   2️⃣ About using a custom Response class: we considered it, but the 
per-request hook is simpler, applies consistently across all Flask apps, and 
avoids touching multiple test setups. A custom Response class could be explored 
later, but the hook safely solves the issue for now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to