send text/plain as content-type instead of an empty string