We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c7f268 commit 9587100Copy full SHA for 9587100
models/HyperResponse.cfc
@@ -102,7 +102,7 @@ component accessors="true" {
102
* @res The CFHTTP struct.
103
*/
104
private function populateFromCFHTTP( res ) {
105
- variables.charset = res.charset;
+ variables.charset = res.keyExists( "charset" ) ? res.charset : "UTF-8";
106
variables.statusCode = res.responseheader.status_code;
107
res.responseheader.each( function( name, value ) {
108
variables.headers[ lcase( name ) ] = value;
0 commit comments