-
Notifications
You must be signed in to change notification settings - Fork 10
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
Proper content-type for .jsonl
#44
Comments
We could help the JSON Lines folks write a draft spec so that our draft spec would be complete and so that we can make an IANA submission. Turtles all the way down… I think we go with |
Andrew has found that
|
@andrew is it application/jsonl or text/jsonl? The jsonl website recommends
application. I see some talk from shopify stuff but can’t find this. Will
test with my shopify account when I get a chance
…On Fri, Aug 2, 2024 at 2:00 PM Stephen Curran ***@***.***> wrote:
Andrew has found that text/jsonl is the right thing to use:
I updated the demo DID on anywhy.ca, and set the mime type for jsonl to
'text/jsonl' as that helps it render properly in a browser (apparently
that's what Shopify uses)
—
Reply to this email directly, view it on GitHub
<https://github.com/bcgov/trustdidweb/issues/44#issuecomment-2266139033>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABWK6FGKJWU7NM6QL6SC2STZPPXOTAVCNFSM6AAAAABGDTWFOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGEZTSMBTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I was looking into this as well, I also landed on |
All -- we need to nail this down. Someone be bold here :-) . Once decided, clarification to the specification. |
I think regardless of the decision we use in the spec, it's not an official media type. I have settled for |
I still like
It also has the benefit that you can specify the |
I think we have consensus on |
Continuing discussions from #41 I think we need to specify something.
When I upload it to a browser it says it's
application/octet-stream
.There doesn't appear to be a consensus in wardi/jsonlines#19
The proposal there is
application/jsonl
which I think looks like a typo..Another proposal in there (amazon uses) is
application/jsonlines
which seems pretty good to me other than not being in IANAThe text was updated successfully, but these errors were encountered: