vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php
/**
     * Format the header name for the server array.
     *
     * @param  string  $name
     * @return string
     */
Format the header name for the server array.
@param  string  $name
@return string
Format the header name for the server array . @param string $name @return string
protected function formatServerHeaderKey($name)
    {
        if (! Str::startsWith($name, 'HTTP_') && $name != 'CONTENT_TYPE') {
            return 'HTTP_'.$name;
        }
        return $name;
    }
protected function formatServerHeaderKey ( $ name ) { if ( ! Str :: startsWith ( $ name , 'HTTP_' ) && $ name != 'CONTENT_TYPE' ) { return 'HTTP_' . $ name ; } return $ name ; }
Format the header name for the server array.
Format the header name for the server array .