Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```