Open divingtobi opened 4 years ago
Are two "//" being added to your url?
No sure what you mean. The error was introduced between 0.5.0 and 0.5.1. I could fix it in 0.5.1 by changing line 532 in list.py:
# original:
# response = post(self._session, url=url, headers=headers, data=body, timeout=self.timeout)
response = self._session.post(url=url, headers=headers, data=body, timeout=self.timeout)
Not sure what the impact is though.
Ahh, I see. Thanks for that. There is a change to the way the request library works between these two.
On Thu, Oct 8, 2020 at 1:31 AM divingtobi notifications@github.com wrote:
No sure what you mean. The error was introduced between 0.5.0 and 0.5.1. I could fix it in 0.5.1 by changing line 532 in list.py:
original:
response = post(self._session, url=url, headers=headers, data=body, timeout=self.timeout)
response = self._session.post(url=url, headers=headers, data=body, timeout=self.timeout)
Not sure what the impact is though.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jasonrollins/shareplum/issues/119#issuecomment-705361649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOVTVTQO7XEER7MHUMESBDSJVMFHANCNFSM4QBJCRJQ .
site.list("name of list") returns an error in shareplum version 0.5.1. The same code works in 0.4.4: