src/Request.php
public function getRequestTarget()
	{
		if (isset($this->requestTarget)) {
			return $this->requestTarget;
		}

		$result = $this->getUri()->getPath() ?: URI::DELIMITER_PATH;

		if ($this->getUri()->getQuery()) {
			$result .= URI::DELIMITER_QUERY . $this->getUri()->getQuery();
		}

		return $result;
	}
public function getRequestTarget()
	{
		if (isset($this->requestTarget)) {
			return $this->requestTarget;
		}

		$result = $this->getUri()->getPath() ?: URI::DELIMITER_PATH;

		if ($this->getUri()->getQuery()) {
			$result .= URI::DELIMITER_QUERY . $this->getUri()->getQuery();
		}

		return $result;
	}
{@inheritdoc}