Recommend object URL should 301 to AP resource
-
@julian @johnonolan @angus @evan 301/308 aren’t cacheable/idempotent over the Accept header and are meant to permanently update old identifiers. consider 303 See Other for content negotiation purposes, or consider rel=alternate type=… Link headers otherwise.
@trwnh @julian @johnonolan @angus there's a doc for this.
-
@julian @johnonolan @angus there's a whole task force for this. You've commented on it. Why does this need to be discussed?
[@evan@cosocial.ca](https://community.nodebb.org/user/evan%40cosocial.ca) this was to ask the mentioned parties for Ghost and Discourse to implement. I mentioned you to keep you in the loop because task forces achieve nothing without implementors doing the work. -
Object IDs should really be retrievable by http GET. See section 3.2 of https://www.w3.org/TR/activitypub
-
Object IDs should really be retrievable by http GET. See section 3.2 of https://www.w3.org/TR/activitypub[@rimu@piefed.social](https://community.nodebb.org/user/rimu%40piefed.social) yes, that's right. I'm specifically referring to object _urls_ though, which tend to be more user facing.
-
@julian @johnonolan @angus @evan
Why 301 and not 302?
I am using 302. Probably chose it because everyone else was using it. -
@julian @johnonolan @angus @evan
Why 301 and not 302?
I am using 302. Probably chose it because everyone else was using it.[@silverpill@mitra.social](https://community.nodebb.org/user/silverpill%40mitra.social) 302/307 is also fine by me. Probably safer from being accidentally cached and may be more appropriate in this situation. -
You could save yourself some hassle and make urls and IDs the same value. But you do you
-
-
[@johnonolan@mastodon.xyz](https://community.nodebb.org/user/johnonolan%40mastodon.xyz) A solution is only needed if the resource id is different from the URL (which in Ghost's case, is true). You don't _have_ to use a redirect. If your software is capable of doing it, you can serve the ActivityPub object directly from that route's controller; that's what NodeBB does.
-
@julian If you want to make an issue here about what you'd like to see I'll make sure the team sees it
GitHub - TryGhost/ActivityPub: A full-featured ActivityPub server for networked publishing with Ghost
A full-featured ActivityPub server for networked publishing with Ghost - TryGhost/ActivityPub
GitHub (github.com)
-
@julian If you want to make an issue here about what you'd like to see I'll make sure the team sees it
GitHub - TryGhost/ActivityPub: A full-featured ActivityPub server for networked publishing with Ghost
A full-featured ActivityPub server for networked publishing with Ghost - TryGhost/ActivityPub
GitHub (github.com)
@julian (Thank you for the ping btw, I appreciate the note - this wasn't on my radar)
-
@julian (Thank you for the ping btw, I appreciate the note - this wasn't on my radar)
[@johnonolan@mastodon.xyz](https://community.nodebb.org/user/johnonolan%40mastodon.xyz) no worries, and thanks! Will do.