Skip to content

fix: don't set empty cache control headers#1246

Merged
df-wg merged 1 commit intomainfrom
dave/eng-5776-cache-control-should-not-be-set-when-no-subgraph-returned
Oct 6, 2024
Merged

fix: don't set empty cache control headers#1246
df-wg merged 1 commit intomainfrom
dave/eng-5776-cache-control-should-not-be-set-when-no-subgraph-returned

Conversation

@df-wg
Copy link
Copy Markdown
Contributor

@df-wg df-wg commented Oct 6, 2024

Motivation and Context

Previous work (#1155 and #1218) added cache control policy control, and in the process, set a Cache-Control header on every response, even when it didn't have a value to set. This PR fixes that bug.

TODO

@github-actions github-actions Bot added the router label Oct 6, 2024
@df-wg df-wg merged commit eb1ef06 into main Oct 6, 2024
@df-wg df-wg deleted the dave/eng-5776-cache-control-should-not-be-set-when-no-subgraph-returned branch October 6, 2024 10:02
df-wg added a commit that referenced this pull request Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants