about summary refs log tree commit diff
path: root/lib/json_ld/activitystreams.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2017-12-27 18:21:12 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-12-27 18:21:12 +0100
commit868568d1c11227319228ec4066c7017621b9f522 (patch)
tree7b589f96fd36e2b9fe5ac7a14ca7a6307fbf5b70 /lib/json_ld/activitystreams.rb
parent65f30f65a2816d5b25c096be0f237bbca17608e5 (diff)
Make host_meta/webfinger replies cacheable (fixes #6100) (#6101)
* Make host_meta/webfinger replies cacheable (fixes #6100)

Drop common code for handling users and sessions as webfinger queries
are very basic, public APIs.

Also explicitly mark results as cacheable with “expires_in”.

* Add “Vary: Accept” header for caching since content-negociation is used
Diffstat (limited to 'lib/json_ld/activitystreams.rb')
0 files changed, 0 insertions, 0 deletions