You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace incorrect Content-Type header with Accept header on bodyless GET proxy fetch calls #1002
Several Next.js API proxy routes in components/frontend/src/app/api/ send Content-Type: application/json on outbound fetch() calls that use GET with no request body. Content-Type describes the format of a request body; it is semantically incorrect (and misleading) on a bodyless GET. The correct header to signal that the caller expects a JSON response is Accept: application/json.
This was surfaced during review of PR #998 (comment: #998 (comment)). The fix was intentionally deferred from that PR to keep all proxy routes consistent in a single follow-up.
Notably, components/frontend/src/app/api/projects/[name]/agentic-sessions/[sessionName]/agui/events/route.ts already explicitly deletes Content-Type for its GET SSE request, confirming awareness of the issue.
Affected routes (outbound GET fetch with wrong header)
Hey there! 👋 Closing this out as part of a triage pass — it's been idle for a while and we want to keep the backlog focused. If this is still relevant or you'd like to pick it back up, feel free to reopen anytime. Thanks!
Activity
replace Content-Type with Accept on bodyless GET proxy routes
replace Content-Type with Accept on bodyless GET proxy routes
replace Content-Type with Accept on bodyless GET proxy routes
replace Content-Type with Accept on bodyless GET proxy routes
replace Content-Type with Accept on bodyless GET proxy routes
jeremyeder commentedon Apr 17, 2026
Hey there! 👋 Closing this out as part of a triage pass — it's been idle for a while and we want to keep the backlog focused. If this is still relevant or you'd like to pick it back up, feel free to reopen anytime. Thanks!
Replace Content-Type with Accept on bodyless GET proxy routes (#1243)