summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 1673b75da..c033c7125 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -553,7 +553,7 @@ function file_transfer($source, $headers) {
// not followed by a space or a tab.
// See http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
$header = preg_replace('/\r?\n(?!\t| )/', '', $header);
- header($header);
+ drupal_set_header($header);
}
$source = file_create_path($source);