Create a ActivitypubResponse class and use it in the views
This improves compatibility with other fediverse software by using the expected content type for any api calls.
This commit is contained in:
@ -11,6 +11,7 @@ from .note import Tombstone
|
||||
from .interaction import Boost, Like
|
||||
from .ordered_collection import OrderedCollection, OrderedCollectionPage
|
||||
from .person import Person, PublicKey
|
||||
from .response import ActivitypubResponse
|
||||
from .book import Edition, Work, Author
|
||||
from .verbs import Create, Delete, Undo, Update
|
||||
from .verbs import Follow, Accept, Reject
|
||||
|
Reference in New Issue
Block a user