Skip to content

Add CORS handling for SSE using servers flag#2

Open
bvt123 wants to merge 1 commit intomainfrom
codex/check-cors-response-in-haproxy
Open

Add CORS handling for SSE using servers flag#2
bvt123 wants to merge 1 commit intomainfrom
codex/check-cors-response-in-haproxy

Conversation

@bvt123
Copy link
Owner

@bvt123 bvt123 commented Jun 9, 2025

Summary

  • allow SSE server to restrict CORS based on the --servers flag
  • handle OPTIONS requests in SSE server
  • pass allowed origins through ServeSSE
  • update CLI docs about --servers
  • test OPTIONS handling with CORS headers

Testing

  • go test ./... (fails: Forbidden to download modules)

https://chatgpt.com/codex/tasks/task_e_6846d4e8fd088328ab8ff7f21647ad8b

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.

1 participant