about summary refs log tree commit diff
path: root/spec/fabricators/session_activation_fabricator.rb
diff options
context:
space:
mode:
authorvalerauko <vale@valerauko.net>2018-10-30 23:07:57 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-10-30 15:07:57 +0100
commitc36a4a16178441968715e13c77859b1eb813c2af (patch)
treeb65c315cadf1e016730a62a69e28e01dc8493191 /spec/fabricators/session_activation_fabricator.rb
parenta3d40ba53b1154a8711d625a4ec6162b343a217d (diff)
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
Diffstat (limited to 'spec/fabricators/session_activation_fabricator.rb')
0 files changed, 0 insertions, 0 deletions