add support to requests also in 0.7 branch