generated from jric11/baseProject
Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
return;
|
||||
|
||||
/**
|
||||
* empty.php - Test HTTP endpoint that returns an empty response body.
|
||||
*
|
||||
* Used by FileTest to verify the `$ret === true` branch in getUrlData()
|
||||
* when CURLOPT_RETURNTRANSFER is not set.
|
||||
*/
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* large.php - Test HTTP endpoint that returns a large body.
|
||||
*
|
||||
* Used by FileTest to verify that the maxRemoteSize limit is enforced
|
||||
* via the cURL progress callback.
|
||||
*/
|
||||
|
||||
echo \str_repeat('X', 1000);
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
$target = isset($_GET['to']) && \is_string($_GET['to']) ? $_GET['to'] : '/empty.php';
|
||||
\header('Location: ' . $target, true, 302);
|
||||
Reference in New Issue
Block a user