Set Content-Type for ActivityPub request to correct value. #315
No reviewers
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#315
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "ap-request-content-type"
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?
As defined in section 7 of the ActivityPub specification,
POSTrequests must have theContent-Type: application/ld+json; profile="https://www.w3.org/ns/activitystreams"headerAlso it allows implementations (like Pleroma) actually verifying content-types to correctly handle requests
Codecov Report
0% <0%> (ø)0% <0%> (ø)Continue to review full report at Codecov.