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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/nosniff/resources/css.py

Issue 2778753002: Import //fetch from Web Platform Tests. (Closed)
Patch Set: Baselines. Created 3 years, 8 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
OLDNEW
(Empty)
1 def main(request, response):
2 outcome = request.GET.first("outcome", "f")
3 type = request.GET.first("type", None)
4
5 content = "/* nothing to see here */"
6
7 response.add_required_headers = False
8 response.writer.write_status(200)
9 response.writer.write_header("x-content-type-options", "nosniff")
10 response.writer.write_header("content-length", len(content))
11 if(type != None):
12 response.writer.write_header("content-type", type)
13 response.writer.end_headers()
14
15 response.writer.write(content)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698