Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reiver/corsproxy
A proxy server for adding permissive CORS headers.
https://github.com/reiver/corsproxy
cors cors-proxy cross-origin-resource-sharing
Last synced: about 1 month ago
JSON representation
A proxy server for adding permissive CORS headers.
- Host: GitHub
- URL: https://github.com/reiver/corsproxy
- Owner: reiver
- License: mit
- Created: 2023-02-20T01:29:07.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T15:32:19.000Z (almost 2 years ago)
- Last Synced: 2024-06-19T14:50:19.320Z (6 months ago)
- Topics: cors, cors-proxy, cross-origin-resource-sharing
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# corsproxy
This is a proxy HTTP server that adds permissive **cross-origin resource sharing** (**CORS**) headers to the response.
For example, if the following URL didn't have CORS headers:
```
http://example.com/user/joeblow.atom
```Then, if the `corsproxy` serving on the Internet domain `corsproxy.tld`, then the following would give the return the same data with permissive CORS headers added:
```
http://corsproxy.tld/http://example.com/user/joeblow.atom
```## CORS Heaers
The CORS headers that are added are:
```
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, DELETE, HEAD, OPTIONS, PATCH, POST, PUT, TRACE
```