Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: LayoutTests/http/tests/htmlimports/resources/no-encoding.cgi

Issue 178883002: Set encoding to UTF-8 for HTML Imports if no encoding is specified in the HTTP response (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/perl -wT 1 #!/usr/bin/perl
2 use strict;
3
4 print "Content-Type: text/html\n"; 2 print "Content-Type: text/html\n";
5 print "Access-Control-Allow-Credentials: true\n"; 3 print "Access-Control-Allow-Credentials: true\n";
6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n"; 4 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n";
7 5
8 print "<html><body><h1>Hello, CORS!</h1></body></html>\n"; 6 print "<!DOCTYPE html><body>Hello, world</body>\n\n";
9
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698