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