Support sending RequestOptions while doing query.