CORS net/http middleware for Go
20.95 KB
built 2026-10-29 08:36:38 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.
Dependencies
4 totalRequires3
- go-rpm-macros
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- golang-github-chi-cors-devel = 1.2.0-13.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| cors-1.2.0.tar.gz | 8.21 KB |
| golang-github-chi-cors.spec | 3.35 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
