CORS net/http middleware for Go
17.55 KB
built 2026-10-29 08:37:02 GMT
Description
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
Dependencies
8 totalRequires5
- go-filesystem
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides3
- golang(github.com/go-chi/cors) = 1.2.0-13.fc45
- golang-github-chi-cors-devel = 1.2.0-13.fc45
- golang-ipath(github.com/go-chi/cors) = 1.2.0-13.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
15
Files 1–15 of 15
Component of
buildroots that installed this RPMNo Buildroots
