Closed Coniferish closed 1 year ago
Closes #268
import requests filename = "sample-docs/fake-text.txt" resp = requests.post("http://localhost:8000/general/v0/general", files={"files": (filename, open(filename, "rb"), "application/vnd.openxmlformats-officedocument.wordprocessingml.document")}, ) resp.text
Awesome! Can you add a test case like the PdfStream one? Just to send some sample doc with the wrong content type.
Ah, sure thing!
Summary
Closes #268
Testing