From 8217b03c699877fd21c478438350846ffd757d8e Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 10 Jul 2025 09:39:34 +0200 Subject: [PATCH] comment --- src/actix_web/response.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/actix_web/response.rs b/src/actix_web/response.rs index bfb7377..1968d9b 100644 --- a/src/actix_web/response.rs +++ b/src/actix_web/response.rs @@ -12,6 +12,9 @@ use url::Url; /// Generates HTTP response to serve the object for fetching from other instances. /// +/// If possible use [Object.http_response] +/// which also handles redirects for remote objects and deletions. +/// /// `federation_context` is the value of `@context`. pub fn create_http_response( data: T,