Lines Matching +full:check +full:- +full:pass -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)

29     $last_modified = substr(gmdate('r', $timestamp), 0, -5) . 'GMT';
32 header("Last-Modified: $last_modified");
35 $if_modified_since = $INPUT->server->filter('stripslashes')->str('HTTP_IF_MODIFIED_SINCE', false);
36 $if_none_match = $INPUT->server->filter('stripslashes')->str('HTTP_IF_NONE_MATCH', false);
42 // At least one of the headers is there - check them
48 return; // if-modified-since is there but doesn't match
51 // Nothing has changed since their last request - serve a 304 and exit
60 * Let the webserver send the given file via x-sendfile method
71 //use x-sendfile header to pass the delivery to compatible web servers
73 header("X-LIGHTTPD-send-file: $file");
77 header("X-Sendfile: $file");
83 header("X-Accel-Redirect: $file");
94 * @param resource $fh - file handle for an already open file
95 * @param int $size - size of the whole file
96 * @param int $mime - MIME type of the file
107 header('Accept-Ranges: bytes');
109 if (!$INPUT->server->has('HTTP_RANGE')) {
110 // no range requested - send the whole file
113 $t = explode('=', $INPUT->server->str('HTTP_RANGE'));
115 // we only understand byte ranges - send the whole file
122 $p = explode('-', $x);
125 if (!$end) $end = $size - 1;
131 $len = $end - $start + 1;
140 header("Content-Type: $mime", true);
144 header("Content-Type: $mime", true);
146 header('Content-Type: multipart/byteranges; boundary=' . HTTP_MULTIPART_BOUNDARY, true);
156 echo HTTP_HEADER_LF . '--' . HTTP_MULTIPART_BOUNDARY . HTTP_HEADER_LF;
157 echo "Content-Type: $mime" . HTTP_HEADER_LF;
158 echo "Content-Range: bytes $start-$end/$size" . HTTP_HEADER_LF;
161 header("Content-Length: $len");
163 header("Content-Range: bytes $start-$end/$size");
174 $len -= $chunk;
179 echo HTTP_HEADER_LF . '--' . HTTP_MULTIPART_BOUNDARY . '--' . HTTP_HEADER_LF;
188 * Check for a gzipped version and create if necessary
224 // check cache age & handle conditional request
226 header('Cache-Control: public, max-age=31536000');
230 if ($conf['allowdebug']) header("X-CacheUsed: $cache");
234 header('Vary: Accept-Encoding');
235 header('Content-Encoding: gzip');
263 header('Vary: Accept-Encoding');
264 header('Content-Encoding: gzip');
301 203 => 'Non-Authoritative Information',
324 414 => 'Request-URI Too Long',
340 $server_protocol = $INPUT->server->str('SERVER_PROTOCOL', false);