HTTP handling

Functions to properly handle HTTP responses.

Functions & methods

drupal_access_deniedincludes/common.incDelivers an "access denied" error to the browser.
drupal_encode_pathincludes/common.incEncodes a Drupal path for use in a URL.
drupal_get_destinationincludes/common.incPrepares a 'destination' URL query parameter for use with drupal_goto().
drupal_get_query_arrayincludes/common.incSplits a URL-encoded query string into an array.
drupal_get_query_parametersincludes/common.incProcesses a URL query parameter array to remove unwanted elements.
drupal_gotoincludes/common.incSends the user to a different Drupal page.
drupal_http_build_queryincludes/common.incParses an array into a valid, rawurlencoded query string.
drupal_http_requestincludes/common.incPerforms an HTTP request.
drupal_not_foundincludes/common.incDelivers a "page not found" error to the browser.
drupal_parse_urlincludes/common.incParses a system URL string into an associative array suitable for url().
drupal_site_offlineincludes/common.incDelivers a "site is under maintenance" message to the browser.


includes/, line 388
Common functions that many Drupal modules will need to reference.