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

   Thanks for the feedback. You were absolutely right - the initial approach 
had issues.
   
   I've revised the fix:
   - The middleware now properly deduplicates Date headers (keeps the first, 
removes duplicates)
   - Removed the newsfragment as noted - not needed for bugfixes
   - Works correctly for both Flask WSGI plugins AND simple auth scenarios
   - Ensures at least one Date header is always present
   
   The middleware only activates if there are duplicate Date headers, otherwise 
responses pass through unchanged. This preserves the Date header from either 
uvicorn (simple auth) or Flask (WSGI plugins) as appropriate.


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