a couple more tweaks to http_helper.contentType