We are downlowding the request version 2.Hence requests.post with prefetch argument failing.Changed the condition to check for requests version gt or equal to 1