OLD | NEW |
---|---|
1 #!/usr/bin/perl -wT | 1 #!/usr/bin/perl -wT |
2 use strict; | 2 use strict; |
3 | 3 |
4 print "Content-Type: text/html\n"; | 4 print "Content-Type: text/html\n"; |
5 print "Access-Control-Allow-Credentials: true\n"; | 5 print "Access-Control-Allow-Credentials: true\n"; |
6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n"; | 6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n"; |
7 | 7 |
8 print <<EOF | 8 print <<EOF |
9 <!DOCTYPE html> | 9 <!DOCTYPE html> |
10 <html> | 10 <html> |
11 <head> | 11 <head> |
12 <link rel="import" href="having-domain-policy.html"> | 12 <link rel="import" href="having-domain-policy.cgi"> |
13 </head> | 13 </head> |
14 </html> | 14 </html> |
15 EOF | 15 EOF |
OLD | NEW |