Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #!/usr/bin/perl -wT | |
| 2 use strict; | |
| 3 | |
| 4 print "Content-Type: text/html\n"; | |
| 5 print "Access-Control-Allow-Credentials: true\n"; | |
| 6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n"; | |
| 7 | |
| 8 print <<EOF | |
| 9 <!DOCTYPE html> | |
| 10 <link id="sameOriginCors" rel="import" href="cors-basic.cgi?1"> | |
| 11 <link id="sameOriginNoCors" rel="import" href="resources/hello.html?1"> | |
| 12 <link id="masterOriginNoCors" rel="import" href="http://127.0.0.1:8000/htmlimpor ts/resources/hello.html?2"> | |
| 13 <link id="masterOriginCors" rel="import" href="http://127.0.0.1:8000/htmlimports /resources/cors-basic.cgi?2"> | |
| 14 EOF | |
| 15 | |
| OLD | NEW |