requests 1.0.4 compat