Make this work with delete requests too.