Fix to match HTTP encoding.