Skip to content

POSTing ActivityPub message to Solid inbox produces wrong content-type #1574

@WhyINeedToFillUsername

Description

@WhyINeedToFillUsername

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 CommunitySolidServer/CommunitySolidServer#458 (comment))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions