1. 1.12.x includes/common.inc http_handling
  2. 1.10.x includes/common.inc http_handling
  3. 1.11.x includes/common.inc http_handling
  4. 1.7.x includes/common.inc http_handling

Functions to properly handle HTTP responses.

File

includes/common.inc, line 477
Common functions that many Backdrop modules will need to reference.

Functions

Namesort descending Location Description
backdrop_access_denied includes/common.inc Delivers an "access denied" error to the browser.
backdrop_encode_path includes/common.inc Encodes a Backdrop path for use in a URL.
backdrop_get_bare_domain includes/common.inc Take a full URL and return only the bare domain, with sub-domains removed.
backdrop_get_destination includes/common.inc Prepares a 'destination' URL query parameter for use with backdrop_goto().
backdrop_get_query_array includes/common.inc Splits a URL-encoded query string into an array.
backdrop_get_query_parameters includes/common.inc Processes a URL query parameter array to remove unwanted elements.
backdrop_goto includes/common.inc Sends the user to a different page.
backdrop_goto_deprecated includes/common.inc A wrapper function for deprecated menu entries redirecting to their new path.
backdrop_http_build_query includes/common.inc Parses an array into a valid, rawurlencoded query string.
backdrop_http_request includes/common.inc Performs an HTTP request.
_backdrop_http_use_proxy includes/common.inc Helper function for determining hosts excluded from needing a proxy.
backdrop_not_found includes/common.inc Delivers a "page not found" error to the browser.
_backdrop_parse_response_status includes/common.inc Split an HTTP response status line into components.
backdrop_parse_url includes/common.inc Parses a system URL string into an associative array suitable for url().
backdrop_site_offline includes/common.inc Delivers a "site is under maintenance" message to the browser.