Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Apr 2005 at 13:41 UTC
Updated:
31 Jul 2005 at 23:59 UTC
One function that is needed in Drupal (and that our modules currently don't have), is access to write headers. This patch aims to fix that, by providing a hook to send headers before the main header for Drupal is sent.
This will also help with modules such as securesite, by allowing HTTP Auth to be called before we sent content type headers.
Robin Monks
MozNetwork.org
| Comment | File | Size | Author |
|---|---|---|---|
| header hook.inc.patch | 612 bytes | RobinMonks |
Comments
Comment #1
jhriggs commentedCan't this be done with drupal_set_header()? If you need to do it for every page, you could do it from inside hook_menu(). Otherwise, just call it as needed.
Comment #2
killes@www.drop.org commenteduse drupal_set_header