dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
dbxApi_head_response_test.php File Reference

Go to the source code of this file.

Variables

 $api = new dbxApi()
 $method = new ReflectionMethod(dbxApi::class, 'emit_http_response_body')
 $_SERVER ['REQUEST_METHOD'] = 'HEAD'
 $headBody = ob_get_clean()
if($headBody !=='') $_SERVER ['REQUEST_METHOD'] = 'GET'
 $getBody = ob_get_clean()
 if ( $getBody !=='< html >GET-Body</html >')

Variable Documentation

◆ $_SERVER [1/2]

if ( $headBody !=='') $_SERVER[ 'REQUEST_METHOD'] = 'GET'

Definition at line 19 of file dbxApi_head_response_test.php.

◆ $_SERVER [2/2]

◆ $api

$api = new dbxApi()

Definition at line 6 of file dbxApi_head_response_test.php.

Referenced by dbx(), dbxTPL\replaces_dbx(), and dbxWebApp\run().

◆ $getBody

$getBody = ob_get_clean()

Definition at line 22 of file dbxApi_head_response_test.php.

◆ $headBody

$headBody = ob_get_clean()

Definition at line 13 of file dbxApi_head_response_test.php.

◆ $method

◆ if

if($getBody !=='< html >GET-Body</html >') ( $getBody ! = = '<html>GET-Body</html>')

Definition at line 23 of file dbxApi_head_response_test.php.