Test GET and HEAD requests with if-none-match header.