function path_redirect_status_codes in Path redirect 5
Return an array of 300-range status codes placed here for clarity
2 calls to path_redirect_status_codes()
File
- ./
path_redirect.module, line 609
Code
function path_redirect_status_codes() {
$codes = array(
300 => array(
'title' => t('300 Multiple Choices'),
'description' => t('The request is ambiguous and needs clarification as to which resource was requested.'),
),
301 => array(
'title' => t('301 Moved Permanently'),
'description' => t('Moved Permanently. The resource has permanently moved elsewhere, the response indicates where it has gone to. <strong>Recommended.</strong>'),
),
302 => array(
'title' => t('302 Found'),
'description' => t('The resource has temporarily moved elsewhere, the response indicates where it is at present. <strong>This is Drupal\'s default redirect type.</strong>'),
),
303 => array(
'title' => t('303 See Other'),
'description' => t('See Other/Redirect. A preferred alternative source should be used at present.'),
),
304 => array(
'title' => t('304 Not Modified'),
'description' => t('The server has identified from the request information that the client\'s copy of the information is up-to-date and the requested information does not need to be sent again.'),
),
305 => array(
'title' => t('305 Use Proxy'),
'description' => t('The request must be sent through the indicated proxy server.'),
),
307 => array(
'title' => t('307 Temporary Redirect'),
'description' => t('The resource has temporarily moved elsewhere, the response indicates where it is at present. Client should still use this URL.'),
),
);
return $codes;
}