HTTP handling in Drupal 6
Same name and namespace in other branches
- 7 includes/common.inc \http_handling
Functions to properly handle HTTP responses.
File
- includes/
common.inc, line 219 - Common functions that many Drupal modules will need to reference.
Functions
Name | Location | Description |
---|---|---|
drupal_access_denied |
includes/ |
Generates a 403 error if the request is not allowed. |
drupal_get_destination |
includes/ |
Prepare a destination query string for use in combination with drupal_goto(). |
drupal_goto |
includes/ |
Send the user to a different Drupal page. |
drupal_http_request |
includes/ |
Perform an HTTP request. |
drupal_not_found |
includes/ |
Generates a 404 error if the request can not be handled. |
drupal_query_string_encode |
includes/ |
Parse an array into a valid urlencoded query string. |
drupal_site_offline |
includes/ |
Generates a site off-line message. |