/[drupal]/contributions/modules/weblinks/weblinks_errors.inc
ViewVC logotype

Contents of /contributions/modules/weblinks/weblinks_errors.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Mon Jul 20 16:52:34 2009 UTC (4 months ago) by nancyw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +52 -0 lines
File MIME type: text/x-php
Update HEAD to start 7.x
1 <?php
2 // $Id: weblinks_errors.inc,v 1.1.2.2 2008/08/21 01:06:51 nancyw Exp $
3
4 /**
5 * @file
6 * HTTP Error codes
7 */
8 function weblinks_error_codes() {
9 return array(
10 '100' => t('100 - Continue'),
11 '101' => t('101 - Switching Protocols'),
12 '200' => t('200 - OK'),
13 '201' => t('201 - Created'),
14 '202' => t('202 - Accepted'),
15 '203' => t('203 - Non-Authoritative Information'),
16 '204' => t('204 - No Content'),
17 '205' => t('205 - Reset Content'),
18 '206' => t('206 - Partial Content'),
19 '300' => t('300 - Multiple Choices'),
20 '301' => t('301 - Moved Permanently'),
21 '302' => t('302 - Found'),
22 '303' => t('303 - See Other'),
23 '304' => t('304 - Not Modified'),
24 '305' => t('305 - Use Proxy'),
25 '306' => t('306 - (Unused)'),
26 '307' => t('307 - Temporary Redirect'),
27 '400' => t('400 - Bad Request'),
28 '401' => t('401 - Unauthorized'),
29 '402' => t('402 - Payment Required'),
30 '403' => t('403 - Forbidden'),
31 '404' => t('404 - Not Found'),
32 '405' => t('405 - Method Not Allowed'),
33 '406' => t('406 - Not Acceptable'),
34 '407' => t('407 - Proxy Authentication Required'),
35 '408' => t('408 - Request Timeout'),
36 '409' => t('409 - Conflict'),
37 '410' => t('410 - Gone'),
38 '411' => t('411 - Length Required'),
39 '412' => t('412 - Precondition Failed'),
40 '413' => t('413 - Request Entity Too Large'),
41 '414' => t('414 - Request-URI Too Long'),
42 '415' => t('415 - Unsupported Media Type'),
43 '416' => t('416 - Requested Range Not Satisfiable'),
44 '417' => t('417 - Expectation Failed'),
45 '500' => t('500 - Internal Server Error'),
46 '501' => t('501 - Not Implemented'),
47 '502' => t('502 - Bad Gateway'),
48 '503' => t('503 - Service Unavailable'),
49 '504' => t('504 - Gateway Timeout'),
50 '505' => t('505 - HTTP Version Not Supported'),
51 );
52 }

  ViewVC Help
Powered by ViewVC 1.1.2