Fix HttpResponseStatus.ACCEPTED comparisons in HttpQuery and always set the
status of the response object.