src/Beluga/Web/Http/Header.php
public static function SendMultipleChoice( string $newLocation = null, bool $exitHere = false )
   {

      // Define the supported HTTP type
      $pType = static::GetSupportedHttpVersion();

      \header( "{$pType} 300 Multiple Choice" );

      if ( !empty( $newLocation ) )
      {
         \header( "Location: {$newLocation}" );
         exit();
      }

      if ( $exitHere )
      {
         exit;
      }

   }
public static function SendMultipleChoice( string $newLocation = null, bool $exitHere = false )
   {

      // Define the supported HTTP type
      $pType = static::GetSupportedHttpVersion();

      \header( "{$pType} 300 Multiple Choice" );

      if ( !empty( $newLocation ) )
      {
         \header( "Location: {$newLocation}" );
         exit();
      }

      if ( $exitHere )
      {
         exit;
      }

   }
public static function SendMultipleChoice ( string $ newLocation = null , bool $ exitHere = false ) { // Define the supported HTTP type $ pType = static :: GetSupportedHttpVersion ( ) ; \ header ( "{$pType} 300 Multiple Choice" ) ; if ( ! empty ( $ newLocation ) ) { \ header ( "Location: {$newLocation}" ) ; exit ( ) ; } if ( $ exitHere ) { exit ; } }
Sends a 300 Multiple Choice HTTP-Header.

The requested resource is available by different type. The answer should contains a list of the
accepted types. If $newLocation is set to a valid URL an location was send to the address of the server
preferred representation.

@param string  $newLocation Optionally a absolute URI we will redirect by a Location HTTP header
@param boolean $exitHere    Exit after sending the header? Its only used if no Location header is send.
If a Location header is send its always exited after sending! (default=false)
Sends a 300 Multiple Choice HTTP - Header .