Adding support for accepting 304-responses for queries