Skip to content

Commit 02f43be

Browse files
lmajanogithub-actions[bot]
authored andcommitted
Apply cfformat changes
1 parent 20cdbf5 commit 02f43be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

system/web/context/RequestContext.cfc

+3-4
Original file line numberDiff line numberDiff line change
@@ -1803,16 +1803,15 @@ component serializable="false" accessors="true" {
18031803
}
18041804
// Name Exists and not already set.
18051805
else if ( !isNull( arguments.name ) ) {
1806-
18071806
var response = getPageContext().getResponse();
1808-
1807+
18091808
// special exception for Set-Cookie. We always append this header, instead of overwriting
1810-
if ( arguments.name == "Set-Cookie" ) {
1809+
if ( arguments.name == "Set-Cookie" ) {
18111810
response.addHeader( javacast( "string", arguments.name ), javacast( "string", arguments.value ) );
18121811
} else {
18131812
response.setHeader( javacast( "string", arguments.name ), javacast( "string", arguments.value ) );
18141813
}
1815-
1814+
18161815
variables.responseHeaders[ arguments.name ] = arguments.value;
18171816
} else {
18181817
throw(

0 commit comments

Comments
 (0)