Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

respond to HTTP OPTIONS verb with headers for CORS

View cors-options.pl
1 2 3 4 5
#!/usr/bin/perl
print "Content-type: text/html\n";
print "Access-Control-Allow-Origin: *\n";
print "Access-Control-Allow-Methods: POST\n";
print "Access-Control-Max-Age: 1728000\n\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.