[bug] .jsonld files are not set the proper content-type #716
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#716
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
Debian 12
Version
3.11
PostgreSQL version
15
What were you trying to do?
a.gup.pe
is a groups activitypub service that works by receiving incoming mentions and converting them into boosts.What did you expect to happen?
A mentioned post to properly work.
What actually happened?
https://github.com/immers-space/activitypub-express/issues/113
On akkoma's side; the
/schemas/litepub-0.1.jsonld
file is set thecontent-type: application/octet-stream
This makes the (strict)
activitypub-express
server reject the post, as it cannot fetch the above referenced context, due to it not being recognised as valid JSON.Strongarming the reverse proxy into setting the correct content type for the file fixes it.
I've tried to find where file extensions and file types are associated, but I couldn't.
Logs
No response
Severity
I cannot use it as easily as I'd like
Have you searched for this issue?
fixed via
e88d0a2853