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

Side by Side Diff: LayoutTests/http/tests/multipart/multipart-html.php

Issue 16848005: Remove support for multipart/x-mixed-replace (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?php
2 header('Content-type: multipart/x-mixed-replace; boundary=boundary');
3 header('Connection: keep-alive');
4 echo "--boundary\r\n";
5 echo "Content-Type: text/html\r\n\r\n";
6 echo str_pad('', 5000);
7 ?>
8
9 <script>
10 if (window.testRunner)
11 testRunner.dumpAsText();
12 </script>
13
14 <?php
15 for ($i = 0; $i <= 10; $i++) {
16 echo "--boundary\r\n";
17 echo "Content-Type: text/html\r\n\r\n";
18 echo "This text should only appear once ";
19 echo $i;
20 echo str_pad('', 5000);
21 echo "\r\n\r\n";
22 flush();
23 usleep(100000);
24 $i++;
25 }
26 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698