Actions
Feature #56236
closedAllow multiple headers of the same type in config.additionalHeaders
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-02-24
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
Sometimes you need to set multiple headers of the same type via config.additionalHeaders. As an example, I tried to set the X-Robots-Tag.
mypage.config.additionalHeaders = X-Robots-Tag: noarchive|X-Robots-Tag: nosnippet
But only the last one is delivered, becaus you can't set the replace parameter of the PHP function header(). (See http://php.net/header)
Actions