added options argument to http resource helpers