An xhr request must have an "Accept" or "Content-type" header in order to be considered a request with valid_accept_header.