Same name and namespace in other branches
  1. 4.6.x includes/common.inc \drupal_get_headers()
  2. 4.7.x includes/common.inc \drupal_get_headers()
  3. 5.x includes/common.inc \drupal_get_headers()

Get the HTTP response headers for the current page.

1 call to drupal_get_headers()
page_set_cache in includes/common.inc
Store the current page in the cache.

File

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

Code

function drupal_get_headers() {
  return drupal_set_header();
}