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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/resources/echo-request-method.php

Issue 347653003: XMLHttpRequest must build a request using the given method as-is for non-standard types (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update review comments and rebase Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/xmlhttprequest/resources/echo-request-method.php
diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/echo-request-method.php b/LayoutTests/http/tests/xmlhttprequest/resources/echo-request-method.php
new file mode 100644
index 0000000000000000000000000000000000000000..e299067be23c7e7573da69b191039f26e3bad5f7
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/resources/echo-request-method.php
@@ -0,0 +1,6 @@
+<?php
+if ($_SERVER['REQUEST_METHOD'])
+ header("X-CUSTOM-REQUEST-METHOD: " . $_SERVER['REQUEST_METHOD']);
+else
+ header("X-CUSTOM-REQUEST-METHOD: NOT_SET");
+?>
« no previous file with comments | « no previous file | LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698