Node-solid-server: POSTing ActivityPub message to Solid inbox produces wrong content-type

Created on 25 Feb 2021  路  3Comments  路  Source: solid/node-solid-server

POSTing message to solid inbox (inrupt.net, Solid 5.6.4) with content type application/ld+json; profile="https://www.w3.org/ns/activitystreams" (official ActivityPub content-type from spec https://www.w3.org/TR/activitypub/#client-to-server-interactions) produces application/octet-stream content-type.

To be more specific:

  • POST to /inbox/ with Content-Type application/ld+json -> created -> GET this message, you'll get application/ld+json Content-Type
  • POST to /inbox/ with Content-Type application/ld+json; profile="https://www.w3.org/ns/activitystreams" -> created -> GET this message, you'll get application/octet-stream Content-Type, which is... bad :D

Might be related to other content-type issues (https://github.com/solid/node-solid-server/issues?q=is%3Aissue+is%3Aopen+application%2Foctet-stream), but I didn't find any quite this specific.

(originally reported at https://github.com/solid/community-server/issues/458#issuecomment-786203561)

Most helpful comment

@WhyINeedToFillUsername
https://github.com/solid/node-solid-server/releases/tag/v5.6.6

solidcommunity.net is running v5.6.6
You may check for inrupt.net

You could check X-Powered-By header

All 3 comments

How do I find out if the fix has been released, please? :)

@WhyINeedToFillUsername
https://github.com/solid/node-solid-server/releases/tag/v5.6.6

solidcommunity.net is running v5.6.6
You may check for inrupt.net

You could check X-Powered-By header

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akuckartz picture akuckartz  路  6Comments

ReinsBrain picture ReinsBrain  路  3Comments

kjetilk picture kjetilk  路  7Comments

SvenDowideit picture SvenDowideit  路  6Comments

melvincarvalho picture melvincarvalho  路  6Comments