Add attribute to cfheader to suppress errors if Response stream was flushed

Description

ATM calling cfheader after a cfflush throws an error with a message like "can't assign value to header, header is already committed".

It would be a good enhancement to be able to suppress the error.

We already have an attribute throwOnError in many places so we can use that.

Activity

Show:

Zac Spitzer 4 August 2021 at 19:13
Edited

Duplicate

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Priority

Created 4 August 2021 at 18:28
Updated 10 March 2024 at 00:31
Resolved 9 March 2024 at 21:36

Flag notifications