windro-xdd commented on PR #64688: URL: https://github.com/apache/airflow/pull/64688#issuecomment-4216827866
Thanks for catching that. I've revised the approach to work at the ASGI level where headers can actually be modified before being sent to the client. The middleware now: - Intercepts http.response.start messages from the ASGI layer - Detects multiple Date headers from different sources (uvicorn + Flask WSGI) - Keeps the first Date header and removes duplicates - Works correctly for both Flask WSGI plugins and simple auth scenarios Removed the newsfragment since it's not needed for bugfixes. The fix should handle the issue properly 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]
