Implemented changes to python reqests.