1.12.x drupal.inc drupal_add_http_header($name, $value, $append = FALSE)
1.10.x drupal.inc drupal_add_http_header($name, $value, $append = FALSE)
1.11.x drupal.inc drupal_add_http_header($name, $value, $append = FALSE)
1.7.x drupal.inc drupal_add_http_header($name, $value, $append = FALSE)

Sets an HTTP response header for the current page.

Deprecated

since 1.0.0

See also

backdrop_add_http_header()

Related topics

File

includes/drupal.inc, line 156
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_add_http_header($name, $value, $append = FALSE) {
  backdrop_add_http_header($name, $value, $append);
}