Unstructured-IO / unstructured-api-tools

Apache License 2.0
28 stars 10 forks source link

feat(api): Refinement around handling of mixed text file / non-text file requests #106 #173

Open kravetsmic opened 1 year ago

kravetsmic commented 1 year ago

Summary

Added validation for text files in test API. If the user sends text files to the file endpoint, or files to the text file endpoint, he will get exception from server with message Type {file_content_type} not supported for files / text files endpoint. and status code 400.

Added additional tests.


Closes issue #106