Skip to content
Snippets Groups Projects
Commit c36a4a16 authored by valerauko's avatar valerauko Committed by Eugen Rochko
Browse files

Fix FetchAtomService content type handling (#9132)

* Add profile to json+ld in Accept

It's required by the ActivityPub spec

* Use headers['Content-type'] instead of mime_type

mime_type strips the profile from the content type, but it's still available raw in the headers hash

* Add test for ld+json with profile
parent a3d40ba5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment