fixed http response logging