zlorgoncho1 / sprint

A lightweight, high-performance Go web framework focusing on simplicity, with built-in support for JSON & HTML responses. Perfect for building efficient, scalable server-side applications. Currently in active development. Contributions welcome!
MIT License
13 stars 5 forks source link

Develop CORS Management Feature for Sprint #10

Open zlorgoncho1 opened 10 months ago

zlorgoncho1 commented 10 months ago

Implement a feature to handle Cross-Origin Resource Sharing (CORS) in the Sprint framework. This should include configuration options that allow developers to specify allowed origins, HTTP methods, and headers for cross-origin requests, ensuring both flexibility and security in handling requests from different domains.