Skip to content

Conversation

@mtalexan
Copy link
Owner

There was a bug with the python 2->3 conversion where data provided to the urllib.request.Request object must be set to trigger a POST instead of a GET, but also can't be a string.

This was causing a TypeError to be thrown by urllib when triggering POST commands that needed no extra arguments (e.g. QuickClose operation on stories).

Mike Alexander added 2 commits June 28, 2018 19:39
…so the data wasn't a byte array in the default case anymore
@mtalexan mtalexan merged commit 4ff4468 into master Jun 29, 2018
@mtalexan mtalexan deleted the fix-operations branch June 29, 2018 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants