Package cors provides explicit browser-origin policy using rs/cors.
Package cors applies the given cross-origin policy.
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/
Package corstools provides a dependency-free client for cors.tools.
Package cors provides handlers to enable CORS support.
Package cors handles cross-origin HTTP requests (CORS).
Package micro is a pluggable framework for microservices
Package cors provides a Rex extension implementing Cross-Origin Resource Sharing.
Package gitcorsproxy is a small, sovereign reverse proxy that lets a browser reach git smart-HTTP remotes that do not send CORS headers.
Package cors provides configurable Cross-Origin Resource Sharing middleware.
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/ You can configure it by passing an option struct to cors.New: c := cors.New(cors.Options{ AllowedOrigins: []string{"foo.com"}, AllowedMethods: []string{"GET", "POST", "DELETE"}, AllowCredentials: true, }) Then insert the handler in the chain: handler = c.Handler(handler) See Options documentation for more options.
Package gocors allows you to define CORSRule using, `CORSRule`, and then add those rule.Compile()d to CORS{}.Middleware()
Package cors is fasthttp handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/ You can configure it by passing an option struct to cors.New: c := cors.New(cors.Options{ AllowedOrigins: []string{"foo.com"}, AllowedMethods: []string{fasthttp.MethodGet, fasthttp.MethodPost, fasthttp.MethodDelete}, AllowCredentials: true, }) Then insert the handler in the chain: handler = c.Handler(handler) See Options documentation for more options.
Package cors provides an HTTP middleware that handles Cross-Origin Resource Sharing (CORS) by validating the Origin header and setting the appropriate Access-Control-* response headers.
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/