From: Vincent Vanwaelscappel Date: Thu, 20 Nov 2025 13:56:11 +0000 (+0100) Subject: wait #7819 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=1bfbbf292929c284acbf28f988a3bdb124639177;p=cubist_net.git wait #7819 --- diff --git a/src/HTTP.php b/src/HTTP.php index 2fb460e..6ed1394 100644 --- a/src/HTTP.php +++ b/src/HTTP.php @@ -141,20 +141,6 @@ class HTTP return ['http_code' => $httpcode]; } - public static function getHttpCodeComment($httpcode) - { - switch ($httpcode) { - case 301: - return " - Moved Permanently: the resource has a new permanent home — update your bookmarks or links."; - case 302: - return " - Found: tells the client to look at (browse to) another URL."; - //case 307: - //case 308: - case 400: - return " - Bad request: this and all future requests should be directed to the given URI."; - } - } - public static function youtubeVideoExist($videoID) { $headers = get_headers('https://www.youtube.com/oembed?format=json&url=http://www.youtube.com/watch?v=' . $videoID);