Source Package: golang-github-chi-cors (1.2.0-13.fc43)
CORS net/http middleware for Go
go-chi/cors is a fork of github.com/rs/cors that provides a net/http compatible middleware for performing pref-light CORS checks on the server side. These headers are required for using the browser native Fetch API. This middleware is designed to be used as a top-level middleware on the chi router. Applying with within a r.Group() or using With() will not work without routes matching OPTIONS added. This package contains the source code needed for building packages that reference the following Go import paths: – github.com/go-chi/cors
Package information
- Homepage
- [https://github.com/go-chi/cors]
- License
- MIT
- Mantenedor del paquete downstream
- yanqiyuObserved Nov 20, 2026 [source]
The following binary packages are built from this source package:
- golang-github-chi-cors-devel
CORS net/http middleware for Go
