Closed beelze closed 11 months ago
This feature is available in version 4.10. See "Response header modification" in https://github.com/graygnuorg/pound/releases/tag/v4.10.
Sorry, I was reading not up-to-date documentation. FR is already implemented in 4.10.
My bad. Thanks for reporting it. I've updated the docs.
pound
has a good and sufficient mechanism to manipulate request headers. Though, sometimes may be needed to change response headers too (it may be needed especially when there is no way to modify backend server behaviour or when in need of removing «improper» headers, if any.It would be nice to have a possibility to use appropriate directives inside
Backend
section (e.g.SetResponseHeader "name: value"
andDeleteResponseHeader [options] "pattern"
) – with the same logic as for request headers (includeRewrite
conditionals)