allow resetting http headers per request by buffering them

Description

as discussed here https://dev.lucee.org/t/setclientcookies-false-per-request/3631/9

The Servlet API (on which Lucee and ACF are built) does not expose a method for clearing previously set headers.

We can, theoretically, add an internal array that would hold the headers and only pass them forward on the first response “commit”, but is it worth it?

Activity

Show:

Assignee

Unassigned

Reporter

Zac Spitzer

Priority

New
Configure