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

Side by Side Diff: LayoutTests/http/tests/serviceworker/chromium/resources/service-worker-mixed-response.php

Issue 1226473002: Add LayoutTests for mixed range response handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: third Created 5 years, 5 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 <?php
2 $position = $_GET["position"];
3 header('HTTP/1.0 206 Partial Content');
4 header('Content-Type: audio/ogg');
5 # 12983 is the file size of media/content/silence.oga.
6 header('Content-Range: bytes ' . $position . '-' . $position . '/12983');
7 header('Access-Control-Allow-Origin: *');
8 echo substr('Ogg', $position, 1);
9 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698