GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — fix(webserver): remove duplicate Date headers in responses by tysoncung · Pull Request #65086 · apache/airflow Conversation
Contributor
ProblemHTTP responses from the Airflow webserver contain duplicate Example: Closes #64678 SolutionAdded
Files Changed
TestingThis middleware ensures all responses have unique headers, regardless of whether they come from FastAPI routes or Flask routes mounted via WSGIMiddleware.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions) - Add ResponseHeaderDedupMiddleware to remove duplicate response headers - Fixes issue where both uvicorn and Flask add Date headers - Middleware keeps only the first occurrence of each header (case-insensitive) - Applied before HttpAccessLogMiddleware to ensure clean responses Closes apache#64678
tysoncung
requested review from
bugraoz93,
choo121600,
ephraimbuddy,
jason810496,
pierrejeambrun,
rawwar and
shubhamraj-git
as code owners
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of adding a middleware that will strip out the duplicated headers. Can we instead fix the ASGI app (flask) to not include that unwanted Date header ?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
potiuk
marked this pull request as draft
|
There was an error while loading. Please reload this page.
|
@tysoncung Converting to draft — this PR doesn't yet meet our Pull Request quality criteria.
See the linked criteria for how to fix each item, then mark the PR "Ready for review". This is not a rejection — just an invitation to bring the PR up to standard. No rush. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tysoncung This draft PR has been inactive for 13 days since the last triage comment and no response from the author. Closing to keep the queue clean. You are welcome to reopen this PR when you resume work, or to open a new one addressing the issues previously raised. There is no rush — take your time. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Duplicate Date headers in responses
There was an error while loading. Please reload this page.