mirror of
https://github.com/mrclay/minify.git
synced 2025-08-13 01:24:51 +02:00
Moved HTTP examples into web/test
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require '../../ConditionalGet.php';
|
require '../../config.php';
|
||||||
|
require 'HTTP/ConditionalGet.php';
|
||||||
|
|
||||||
// emulate regularly updating document
|
// emulate regularly updating document
|
||||||
$every = 20;
|
$every = 20;
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
require '../../ConditionalGet.php';
|
|
||||||
|
require '../../config.php';
|
||||||
|
require 'HTTP/ConditionalGet.php';
|
||||||
|
|
||||||
// generate content first (not ideal)
|
// generate content first (not ideal)
|
||||||
// emulate regularly updating document
|
// emulate regularly updating document
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
require '../../ConditionalGet.php';
|
|
||||||
|
require '../../config.php';
|
||||||
|
require 'HTTP/ConditionalGet.php';
|
||||||
|
|
||||||
// emulate regularly updating document
|
// emulate regularly updating document
|
||||||
$every = 20;
|
$every = 20;
|
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require '../../ConditionalGet.php';
|
require '../../config.php';
|
||||||
|
require 'HTTP/ConditionalGet.php';
|
||||||
|
|
||||||
// far expires
|
// far expires
|
||||||
$cg = new HTTP_ConditionalGet(array(
|
$cg = new HTTP_ConditionalGet(array(
|
@@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
require '../../ConditionalGet.php';
|
require '../../config.php';
|
||||||
|
require 'HTTP/ConditionalGet.php';
|
||||||
|
|
||||||
// emulate regularly updating document
|
// emulate regularly updating document
|
||||||
$every = 20;
|
$every = 20;
|
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
@@ -1,7 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 'on');
|
ini_set('display_errors', 'on');
|
||||||
|
|
||||||
require '../../Encoder.php';
|
require '../../config.php';
|
||||||
|
require 'HTTP/Encoder.php';
|
||||||
|
|
||||||
if (!isset($_GET['test'])) {
|
if (!isset($_GET['test'])) {
|
||||||
$type = 'text/html';
|
$type = 'text/html';
|
Reference in New Issue
Block a user