Issue Feature Closed

#56236Allow multiple headers of the same type in config.additionalHeaders

Marco Huber 02/24/14, 13:39 updated 10/02/18, 12:02

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)

Reviews 2