graygnuorg / pound

Light-weight reverse proxy, load balancer and HTTPS front-end for Web servers.
GNU General Public License v3.0
43 stars 13 forks source link

[FR] response headers modification #22

Closed beelze closed 11 months ago

beelze commented 11 months ago

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" and DeleteResponseHeader [options] "pattern") – with the same logic as for request headers (include Rewrite conditionals)

graygnuorg commented 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.

beelze commented 11 months ago

Sorry, I was reading not up-to-date documentation. FR is already implemented in 4.10.

graygnuorg commented 11 months ago

My bad. Thanks for reporting it. I've updated the docs.