Closed
Description
When uploading zero-length files when creating issues or updating them, python just hangs and seemingly does nothing anymore. Apparently this has to do with the fact that the file is opened as a stream and the underlying code in packages/requests will now try to send in chunks, but I know too little python to identify the respective line of code.
Example code:
redmine.issue.create(project_id=project.id, subject='Upload Test', tracker_id=1, description='Test uploading zero-length file', status_id=3, priority_id=7,uploads=[{'path': '/path/to/empty.file'}])