I'd go for `JResponse::sendHeaders();` here instead.  If someone sets body content to JResponse, there's a chance that will break the AJAX output.  Just using `sendHeaders()` will accomplish the desired state of sending other headers that may be set during processing.