pub fn response(obj: Object<'_>) -> HttpResponse
Expand description

Short utility function for serializing the given Activity Streams object and returning it inside a HttpResponse with the appropriate Content-Type header.