HTTP handling

Functions to properly handle HTTP responses.

File

drupal/core/includes/common.inc, line 429
Common functions that many Drupal modules will need to reference.

Functions

Namesort descending Location Description
drupal_encode_path drupal/core/includes/common.inc Encodes a Drupal path for use in a URL.
drupal_get_destination drupal/core/includes/common.inc Prepares a 'destination' URL query parameter for use with drupal_goto().
drupal_get_query_array drupal/core/includes/common.inc Splits a URL-encoded query string into an array.
drupal_get_query_parameters drupal/core/includes/common.inc Processes a URL query parameter array to remove unwanted elements.
drupal_goto drupal/core/includes/common.inc Sends the user to a different Drupal page.
drupal_http_build_query Deprecated drupal/core/includes/common.inc Parses an array into a valid, rawurlencoded query string.
drupal_parse_url drupal/core/includes/common.inc Parses a system URL string into an associative array suitable for url().
_drupal_http_use_proxy drupal/core/includes/common.inc Helper function for determining hosts excluded from needing a proxy.
_external_url_is_local drupal/core/includes/common.inc Determines if an external URL points to this Drupal installation.