<commit_before><?php

namespace tourze\Http;

use tourze\Base\Object;
use tourze\Base\Exception\BaseException;
use tourze\Base\Helper\Arr;
use tourze\Base\Helper\Url;
use tourze\Base\Base;
use tourze\Http\Exception\Http404Exception;
use tourze\Http\Exception\HttpException;
use tourze\Http\Request\Client\ExternalClient;
use tourze\Http\Request\Client\InternalClient;
use tourze\Http\Request\Exception\RequestException;
use tourze\Http\Request\RequestClient;
use tourze\Base\Route;
use tourze\Base\Security\Valid;

/**
 * Request. Uses the [Route] class to determine what
 * [Controller] to send the request to.
 *
 * @property   HttpHeader    header
 * @property   RequestClient client
 * @property   Route         route
 * @property   array         routes
 * @property   string        body
 * @property   string        controller
 * @property   string        action
 * @property   string        directory
 * @property   string        method
 * @property   string        protocol
 * @property   boolean       secure<commit_msg>fix route not found bug<commit_after><?php

namespace tourze\Http;

use tourze\Base\Object;
use tourze\Base\Exception\BaseException;
use tourze\Base\Helper\Arr;
use tourze\Base\Helper\Url;
use tourze\Base\Base;
use tourze\Http\Exception\Http404Exception;
use tourze\Http\Exception\HttpException;
use tourze\Http\Request\Client\ExternalClient;
use tourze\Http\Request\Client\InternalClient;
use tourze\Http\Request\Exception\RequestException;
use tourze\Http\Request\RequestClient;
use tourze\Route\Route;
use tourze\Base\Security\Valid;

/**
 * Request. Uses the [Route] class to determine what
 * [Controller] to send the request to.
 *
 * @property   HttpHeader    header
 * @property   RequestClient client
 * @property   Route         route
 * @property   array         routes
 * @property   string        body
 * @property   string        controller
 * @property   string        action
 * @property   string        directory
 * @property   string        method
 * @property   string        protocol
 * @property   boolean       secure
{'fraction_non_alphanumeric': 0.0899854862119013, 'fraction_numerical': 0.002902757619738752, 'mean_word_length': 3.281573498964803, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3481850', 'n_tokens_mistral': 585, 'n_tokens_neox': 584, 'n_words': 155}