diff --git a/lib/APIs/outbox_api.dart b/lib/APIs/outbox_api.dart index ce813e2..fbd3173 100644 --- a/lib/APIs/outbox_api.dart +++ b/lib/APIs/outbox_api.dart @@ -17,9 +17,14 @@ class OutboxAPI { http.Response pageResponse = await http.get( outboxUri, - headers: {"Content-Type": "application/json"}, + headers: { + "Content-Type": "application/json", + "Accept": "application/json", + }, ); + Config.logger.d("Response-Headers: ${pageResponse.headers}"); + OrderedPagedCollection collection = OrderedPagedCollection.fromJson( jsonDecode(utf8.decode(pageResponse.bodyBytes))); diff --git a/pubspec.yaml b/pubspec.yaml index 292b079..9788ee3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: activitypub description: A library for the ActivityPub standard. Created an also used by Fedodo. -version: 1.2.2 +version: 1.2.3 repository: https://github.com/Fedodo/Fedodo.Pub.ActivityPub environment: