Functions to properly handle HTTP responses.

File

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

Functions

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