-
Notifications
You must be signed in to change notification settings - Fork 76
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
s3: fix handling of NULL blob.contentType values #1353
Conversation
This example was taken from https://en.wikipedia.org/wiki/GeoJSON; licence may require attribution, which is a bit tricky in a JSON file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a reasonable fix for now and we can take some time to consider what an improvement to both cases would look like.
I was able to locally reproduce the error |
The only other thing I was wondering about was if it was possible/worth checking this in the integration tests
but the bug fix is in If we go down a longer adventure of setting content types more appropriately, we would probably want to test it more here, but for now, this patch is good. |
Can you clarify what you're suggesting testing here? Is it the |
Ref #1351
This aligns handling of
NULL
values forblob."contentType"
between postgres-stored and s3-stored blobs.