Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
4
http.php
4
http.php
@@ -8,7 +8,7 @@
|
||||
class http
|
||||
{
|
||||
/** Choose the best choice from user choices.
|
||||
Can be used for languages (HTTP_ACCEPT_LANGUAGE), type of pages
|
||||
Can be used for languages (HTTP_ACCEPT_LANGUAGE), type of pages
|
||||
(HTTP_ACCEPT)...
|
||||
Ex. fr, en-gb;q=0.8, en;q=0.7
|
||||
Ex. text/html,application/xhtml+xml,application/xml;q=0.9,* /*;q=0.8
|
||||
@@ -65,7 +65,7 @@ class http
|
||||
@param integer $code The HTTP code to translate in text */
|
||||
function codetext ($code)
|
||||
{
|
||||
switch ($code)
|
||||
switch ($code)
|
||||
{
|
||||
case 100: $text = 'Continue'; break;
|
||||
case 101: $text = 'Switching Protocols'; break;
|
||||
|
||||
Reference in New Issue
Block a user