HTTP handling

  1. 7.x drupal-7.x/includes/common.inc http_handling
  2. 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

Namesort descending Location Description
drupal_access_denied drupal-6.x/includes/common.inc Generates a 403 error if the request is not allowed.
drupal_get_destination drupal-6.x/includes/common.inc Prepare a destination query string for use in combination with drupal_goto().
drupal_goto drupal-6.x/includes/common.inc Send the user to a different Drupal page.
drupal_http_request drupal-6.x/includes/common.inc Perform an HTTP request.
drupal_not_found drupal-6.x/includes/common.inc Generates a 404 error if the request can not be handled.
drupal_query_string_encode drupal-6.x/includes/common.inc Parse an array into a valid urlencoded query string.
drupal_site_offline drupal-6.x/includes/common.inc Generates a site off-line message.