change mime type of json methods from text/json to application/json

This commit is contained in:
Colin Kuskie 2008-10-26 04:11:47 +00:00
parent 913ed8ec26
commit e92017500e
8 changed files with 14 additions and 13 deletions

View file

@ -478,7 +478,7 @@ sub www_getTaxesAsJson {
$results{'startIndex'} = $startIndex;
$results{'sort'} = undef;
$results{'dir'} = $sortDir;
$session->http->setMimeType('text/json');
$session->http->setMimeType('application/json');
return JSON::to_json(\%results);
}