diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-06 06:31:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-06 06:31:24 +0000 |
commit | e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c (patch) | |
tree | 6cdf49084a28fba8c6910a7e000f6708888858a4 /modules/aggregator | |
parent | 140cacba103e3241d24d24c8c1d06c760280261b (diff) | |
download | brdo-e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c.tar.gz brdo-e1ce11dad0bb6377ffddaa5fb0b7174e406ba20c.tar.bz2 |
- Patch #732486 by Damien Tournoud, JacobSingh: drupal_add_http_header() req ; make Status a normal header and drupal_add_http() header shouldn't return a list of headers.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/tests/aggregator_test.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/tests/aggregator_test.module b/modules/aggregator/tests/aggregator_test.module index d5667f269..46521995f 100644 --- a/modules/aggregator/tests/aggregator_test.module +++ b/modules/aggregator/tests/aggregator_test.module @@ -40,7 +40,7 @@ function aggregator_test_feed($use_last_modified = FALSE, $use_etag = FALSE) { } // Return 304 not modified if either last modified or etag match. if ($last_modified == $if_modified_since || $etag == $if_none_match) { - drupal_add_http_header('304 Not Modified'); + drupal_add_http_header('Status', '304 Not Modified'); return; } |