Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support Private Network Access #247

Open
1 task done
jub0bs opened this issue Aug 31, 2023 · 0 comments
Open
1 task done

[FEATURE] Support Private Network Access #247

jub0bs opened this issue Aug 31, 2023 · 0 comments

Comments

@jub0bs
Copy link

jub0bs commented Aug 31, 2023

Is there an existing feature request for this?

  • I have searched the existing feature requests

Is your feature request related to a problem? Please describe.

Private Network Access (PNA) is an extension of the CORS protocol that allows servers to instruct browsers to relax new restrictions enforced by Chrome on requests coming from a less private network (e.g. a request issued from https://example.com to http://localhost:8080). gorilla/handlers currently lacks support for PNA, which may compel its users, should they need that feature, to switch to a different CORS middleware library.

Describe the solution that you would like.

Add at least one (and perhaps two) functional option(s) to let users configure Private Network Access for their CORS middleware.

Anything else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant