Also return json for long accept header with profile link (ref #1216) #114
Loading…
Reference in New Issue
No description provided.
Delete Branch "json-headers"
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?
Tested and works with both accept headers.
@ -14,2 +14,4 @@
use sha2::{Digest, Sha256};
static APUB_JSON_CONTENT_TYPE_LONG: &str =
"application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
Why not move this to the lib.rs right below the other one, or that one here.
The other one is also used for outgoing requests, so its reasonable to have it as a public var. This one is only used here, so I'm not sure if that makes sense. But I can change it if you want.
Ah, that's fine then. I'll just wait for it to pass then merge.
https://travis-ci.org/github/LemmyNet/lemmy/builds/737740876