protected function parseBody($rawBody, $contentType): array
	{
		if($contentType === 'application/x-www-form-urlencoded')
		{
			$parsed = [];

			parse_str($rawBody, $parsed);

			return $parsed;
		}
		elseif($contentType === 'application/json' || $contentType === 'text/json' || strpos($contentType, '+json') !== false)
		{
			return json_decode($rawBody, true) ?? [];
		}

		return [];
	}