pierrejeambrun commented on code in PR #64688:
URL: https://github.com/apache/airflow/pull/64688#discussion_r3045511113
##########
airflow-core/src/airflow/api_fastapi/gunicorn_app.py:
##########
@@ -73,12 +73,14 @@ class AirflowUvicornWorker(UvicornWorker):
which would override any structlog configuration applied before gunicorn
starts.
Setting ``log_config=None`` prevents that. ``access_log=False`` disables
uvicorn's
built-in access logger because ``HttpAccessLogMiddleware`` handles access
logging.
+ ``date_header=False`` prevents duplicate Date headers when Flask WSGI
middleware is used.
"""
CONFIG_KWARGS = {
**UvicornWorker.CONFIG_KWARGS,
"log_config": None,
"access_log": False,
+ "date_header": False,
Review Comment:
Also what about uvicorn deployment ?
##########
uv.lock:
##########
Review Comment:
Remove this diff, unrelated.
--
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]