You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I attempt to upload using a fileobj which does not contain one of the attributes which provide its length, total_len() returns None. This then leads to an exception being raised with the confusing message, “TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'” (encoder.py, line 488, in init).
It would be helpful if total_len() raised an exception which identified the problem as a fileobj which could not provide the package its content length.
The text was updated successfully, but these errors were encountered:
If I attempt to upload using a fileobj which does not contain one of the attributes which provide its length, total_len() returns None. This then leads to an exception being raised with the confusing message, “TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'” (encoder.py, line 488, in init).
It would be helpful if total_len() raised an exception which identified the problem as a fileobj which could not provide the package its content length.
The text was updated successfully, but these errors were encountered: