reverting to http from resource