Revision 48da7695
Added by Andreas Kohlbecker about 16 years ago
modules/cdm_dataportal/cdm_api/cdm_api.module | ||
---|---|---|
424 | 424 |
$header = array(); |
425 | 425 |
$header[] = 'Accept: '.(variable_get('cdm_webservice_type', 'json') == 'json' ? 'application/json' : 'text/xml'); |
426 | 426 |
$header[] = 'Accept-Language: '.$locale; |
427 |
$header[] = 'Accept-Encoding: UTF8';
|
|
427 |
$header[] = 'Accept-Charset: UTF8';
|
|
428 | 428 |
} |
429 | 429 |
|
430 | 430 |
if(function_exists('curl_init')){ |
Also available in: Unified diff