Shawn Grigson
05/22/2024, 4:15 PMcan't assign value to header, header is already committed
This is the line in question and it only happened once and is hard to reproduce:
header name="Access-Control-Allow-Credentials" value="true";Matt Dyer
05/22/2024, 4:31 PMShawn Grigson
05/22/2024, 4:40 PMJordan Clark
05/22/2024, 4:55 PMJordan Clark
05/22/2024, 4:56 PMvar flushed = getPageContext().getResponse().isCommitted();
if( !flushed ) {
cfheader( name= "content-type", value= request.contentType );
}Shawn Grigson
05/22/2024, 4:59 PMShawn Grigson
05/22/2024, 4:59 PMMatt Jones
05/23/2024, 8:26 PMShawn Grigson
05/24/2024, 12:35 AM{"location": "<href>"} so I wouldn't expect there to be so much content that it forced a flush, unless there was perhaps an error upstream that was already being flushed before the preprocessing handler (before) of the controller, which is where the cfheader was.gert
05/24/2024, 7:42 AM