Skip to content

fix: set application/json mimetype in cors_response#436

Open
tylergeiger wants to merge 1 commit into
fabric-testbed:mainfrom
tylergeiger:fix/cors-response-mimetype
Open

fix: set application/json mimetype in cors_response#436
tylergeiger wants to merge 1 commit into
fabric-testbed:mainfrom
tylergeiger:fix/cors-response-mimetype

Conversation

@tylergeiger

Copy link
Copy Markdown

Fixes #435

Sets mimetype='application/json' in cors_response() to prevent Flask's default text/html from bleeding through on every endpoint.

@tylergeiger tylergeiger force-pushed the fix/cors-response-mimetype branch from d53e34c to a83c041 Compare June 8, 2026 13:00
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.

Orchestrator API always returns Content-Type: text/html instead of application/json

1 participant