windro-xdd commented on PR #64688:
URL: https://github.com/apache/airflow/pull/64688#issuecomment-4216746009

   @bugraoz93 @pierrejeambrun Thanks for the feedback. You were right - 
disabling the header entirely breaks simple auth. I've revised the approach:
   
   Instead of setting `date_header=False`, I've added a middleware that removes 
duplicate Date headers when Flask WSGI plugins are mounted. This way:
   - When Flask plugins are used, the middleware removes the duplicate header 
from Flask
   - When simple auth is used (no Flask), uvicorn's Date header is preserved  
   - No headers are lost in either scenario
   
   I also removed the newsfragment as you noted - it's not needed for bugfixes.
   
   The fix is now in place. Let me know if this works better.


-- 
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