flat
flat copied to clipboard
Implement better error handling when uploading an invalid document to the public upload endpoint
Reported by @dietervu when uploading an empty file via piereling:
Unexpected response from FLAT (HTTP 500, target was https://flat.cls.ru.nl):
\Request Method: | POST
-- | --
http://flat.cls.ru.nl/pub/upload/
3.1.3
TypeError
string indices must be integers
/usr/local/lib/python3.8/dist-packages/flat/views.py, line 538, in upload_helper