Open simfr24 opened 5 years ago
This is a bit cumbersome ATM, you can save the result into a variable and use the status_code
attribute. The response has a full_data
attribute, so you can inspect that one for clues.
Would you rather appreciate an exception raised on failure that would translate to a useful feedback message?
Thank you, the .data
attribute got the info.
However if you want to add a .error
attribute that would get the error without having to parse it manually, it would be nice.
As far as my project is concerned, the upload is a workaround because the move
does not work ( see issue #33 ) so I would choose to focus on this instead of the upload :)
I try to upload a file (88MB in my example) with this code :
And the upload fails, how can I catch what the problem is ?