Matt Baer
8f03da0ec1
Correctly respond to application/ld+json requests
This returns ActivityStreams objects when the Accept header is
`application/ld+json; profile="https://www.w3.org/ns/activitystreams "`,
per the ActivityPub spec.
Fixes #564
pirms 8 mēnešiem
Matt Baer
d08f067e9c
Change copyright notices to Musing Studio LLC
A Bunch Tell is now Musing Studio.
pirms 1 gada
Rob Loranger
f87371b594
update IsJSON to check for Accept header
this changes the helper IsJSON to take a request instead of a string,
allowing to check multiple headers. In this case both Content-Type and
Accept.
pirms 4 gadiem
Matt Baer
3ae45bc156
Fix spacing around copyright notices
pirms 5 gadiem
Matt Baer
1274914207
Add copyright / license notices to .go files
pirms 5 gadiem
Matt Baer
ebeacff43c
Add collection handlers, routes, feeds, sitemaps
pirms 5 gadiem