allow client to specify charset for response