Same name and namespace in other branches
  1. 7.x 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 Locationsort descending Description
drupal_query_string_encode includes/common.inc Parse an array into a valid urlencoded query string.
drupal_get_destination includes/common.inc Prepare a destination query string for use in combination with drupal_goto().
drupal_goto includes/common.inc Send the user to a different Drupal page.
drupal_site_offline includes/common.inc Generates a site off-line message.
drupal_not_found includes/common.inc Generates a 404 error if the request can not be handled.
drupal_access_denied includes/common.inc Generates a 403 error if the request is not allowed.
drupal_http_request includes/common.inc Perform an HTTP request.