I need to upload a file dynamically from php apache to python django framework URL. I have tried using CURL it is working fine with in php internally and not working with the django framework URL.

I am getting the error 417 - Expectation Failed from django framework URL.