protected function setRequestTarget(string $path, string $query)
        {   
            $target = $path;
            if ($target === '') {
                $target = '/';
            }
            
            if ($query != '') {
                $target .= '?'.$query;
            }
            return $target;
        }