some small http response fixes