Postman - Python Request Response 500

I am following the 0xdf walkthrough for Postman. According to 0xdf the output of the following lines should be a response code of 200.

import requests
import requests.packages.urllib3
requests.packages.urllib3.disable_warnings()
s = requests.session()
s.post(‘https://10.10.10.160:10000/session_login.cgi’, data={‘page’:’’, ‘user’:‘Matt’, ‘pass’:‘computer2008’}, verify=False, proxies={“https”:“http://127.0.0.1:8080”})
<Response [200]>

But when I follow the same steps, I get a response code of 500.
When I tried to debug it in Burp, it said something like “the browser doesn’t support cookies”. So can anyone point out the error.

Thanks