Skip to content

[PR #7697/84a6c2e6 backport][3.110] Fix Content-Type header for cached APIResponse#7703

Merged
mdellweg merged 1 commit into3.110from
patchback/backports/3.110/84a6c2e6d9e615bf6de7b58531cd749d557f3c68/pr-7697
May 8, 2026
Merged

[PR #7697/84a6c2e6 backport][3.110] Fix Content-Type header for cached APIResponse#7703
mdellweg merged 1 commit into3.110from
patchback/backports/3.110/84a6c2e6d9e615bf6de7b58531cd749d557f3c68/pr-7697

Conversation

@patchback
Copy link
Copy Markdown

@patchback patchback Bot commented May 8, 2026

This is a backport of PR #7697 as merged into main (84a6c2e).

ApiResponse overwrites the Content-Type header with the passed in content_type argument on initialization, so we need to save it to the cache to ensure the cached response still has the original header.

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

@mdellweg mdellweg enabled auto-merge (rebase) May 8, 2026 09:39
@mdellweg mdellweg merged commit 5fd4a6c into 3.110 May 8, 2026
14 checks passed
@mdellweg mdellweg deleted the patchback/backports/3.110/84a6c2e6d9e615bf6de7b58531cd749d557f3c68/pr-7697 branch May 8, 2026 10:08
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