Apr-20-2018, 05:56 PM
Does the error persist if you coerce the data as a bytes object? Something like:
data = urllib.parse.urlencode({"some": "data"}) response = self.br.open(loginform_url, data=data.encode(), timeout=35)