Functions to properly handle HTTP responses.
File
- core/
includes/ common.inc, line 477 - Common functions that many Backdrop modules will need to reference.
Functions
Name | Location | Description |
---|---|---|
backdrop_access_denied |
core/ |
Delivers an "access denied" error to the browser. |
backdrop_encode_path |
core/ |
Encodes a Backdrop path for use in a URL. |
backdrop_get_bare_domain |
core/ |
Take a full URL and return only the bare domain, with sub-domains removed. |
backdrop_get_destination |
core/ |
Prepares a 'destination' URL query parameter for use with backdrop_goto(). |
backdrop_get_query_array |
core/ |
Splits a URL-encoded query string into an array. |
backdrop_get_query_parameters |
core/ |
Processes a URL query parameter array to remove unwanted elements. |
backdrop_goto |
core/ |
Sends the user to a different page. |
backdrop_goto_deprecated |
core/ |
Wraps backdrop_goto() to include a deprecated log message. |
backdrop_http_build_query |
core/ |
Parses an array into a valid, rawurlencoded query string. |
backdrop_http_request |
core/ |
Performs an HTTP request. |
backdrop_not_found |
core/ |
Delivers a "page not found" error to the browser. |
backdrop_parse_url |
core/ |
Parses a system URL string into an associative array suitable for url(). |
backdrop_site_offline |
core/ |
Delivers a "site is under maintenance" message to the browser. |
_backdrop_http_use_proxy |
core/ |
Helper function for determining hosts excluded from needing a proxy. |
_backdrop_parse_response_status |
core/ |
Split an HTTP response status line into components. |
_backdrop_should_strip_sensitive_headers_on_http_redirect |
core/ |
Determine whether to strip sensitive headers from a request when redirected. |