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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/resources/post-echo.php

Issue 79953004: Improve fidelity of XHR progress events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make test stable Created 7 years 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 <?php
2 if (isset($_POST['type']))
3 header("Content-Type: {$_POST['type']}");
4 else
5 header("Content-Type: text/plain");
6
7 $str = @file_get_contents('php://input');
8 header("Content-Length: " . strlen($str));
9 echo $str;
10 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698