getHTTPRequestHeaders

Returns a struct of the current request's HTTP headers.

getHTTPRequestHeaders() → returns struct

This function requires Lucee 5.3.8.163 and up.  Not supported on Adobe ColdFusion, etc.

Examples
Sample code invoking the getHTTPRequestHeaders function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub