update requests.py to fix misquoted function