Skip to content

[WIP] Fix wrong content-type sent with patch request in admin#591

Closed
Copilot wants to merge 2 commits intofeat/disable-hydra-prefixfrom
copilot/sub-pr-590
Closed

[WIP] Fix wrong content-type sent with patch request in admin#591
Copilot wants to merge 2 commits intofeat/disable-hydra-prefixfrom
copilot/sub-pr-590

Conversation

Copy link

Copilot AI commented Feb 5, 2026

  • Investigate the PATCH request Content-Type issue in admin
  • Fix the httpClient headers merging in Admin.tsx to preserve Content-Type
  • Verify the fix with code review and security checks
  • Reply to the comment with the solution

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

The httpClient was overwriting all headers instead of merging them,
causing the Content-Type header for PATCH requests to be lost.
Now properly merges options.headers to preserve Content-Type.

Co-authored-by: vincentchalamon <407859+vincentchalamon@users.noreply.github.com>
Copilot AI requested a review from vincentchalamon February 5, 2026 14:43
Copilot stopped work on behalf of vincentchalamon due to an error February 5, 2026 14:43
@vincentchalamon vincentchalamon deleted the copilot/sub-pr-590 branch February 5, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants