-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/knora.json doesn't work with a CSV file #309
Comments
Ping (this is still blocking dasch-swiss/dsp-api#1532) |
Still not working. |
Yeah – I just fixed it. .../knora.json just returns the mimetype:
results in {
"internalMimeType": "text/plain"
} There is no way that the csv mikmtype can be determined by the magic number.... XML works also:
results in: {
"internalMimeType": "text/xml"
} |
That's perfect, thanks, can we have a new Sipi release with this fix? |
It would also be great to have a test for it in https://github.com/dasch-swiss/sipi/blob/develop/test/e2e/test_02_server.py. |
done! |
I'm still getting the same error with the current Sipi. |
Now Sipi's log says:
But I can see that the file is there in the filesystem. |
I've just tried this again with the current Sipi, and got the same result. |
Fixed in |
Steps to reproduce:
test.csv
in/sipi/images/tmp
.http://localhost:1024/tmp/test.csv/knora.json
.Sipi responds with an internal server error:
The Sipi log says:
The text was updated successfully, but these errors were encountered: