Problem:
1) Need a python library which accepts path of file instead of opening the file(as it can be huge) to make a PUT request. 2) Also want that library to automatically do the redirect if exists(Requests library does that)
The shell command for this is curl -T
I've tried requests, it does redirect but needs to open file to send the file. Same is the case for pyCurl. The only alternative left is running a shell command in the python code.