Using the Demorgan law in the request response function