I am trying to do a CFHTTP call with CF10 and one of the keys in the ResponseHeader struct has a dash "set-cookie". ColdFusion 10 is throwing an error "Element CFHTTP.ResponseHeader.set" is undefined. This code works fine in CF9.
I think you are using 'httpResult.Responseheader.set-cookie' instead of 'httpResult.Responseheader['set-cookie'].'
The mentioned error would be thrown on any version of ColdFusion when you have a hyphen in the key. To address this the key must be quoted inside square brackets i.e. structVariable['key'].
Can you share the code that works on CF9?
Adobe ColdFusion Team.