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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/fetch/api/resources/status.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 code = int(request.GET.first("code", 200))
3 text = request.GET.first("text", "OMG")
4 content = request.GET.first("content", "")
5 type = request.GET.first("type", "")
6 status = (code, text)
7 headers = [("Content-Type", type),
8 ("X-Request-Method", request.method)]
9 return status, headers, content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698