This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 9929272  SLING-7140 Add info on redirects issued by 
StreamRendererServlet
9929272 is described below

commit 9929272756c189165114fa9cdc23fa1fc6798ef7
Author: Konrad Windszus <[email protected]>
AuthorDate: Thu Jan 13 19:55:52 2022 +0100

    SLING-7140 Add info on redirects issued by StreamRendererServlet
---
 .../documentation/bundles/rendering-content-default-get-servlets.md   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/src/main/jbake/content/documentation/bundles/rendering-content-default-get-servlets.md
 
b/src/main/jbake/content/documentation/bundles/rendering-content-default-get-servlets.md
index 1884a65..e872f58 100644
--- 
a/src/main/jbake/content/documentation/bundles/rendering-content-default-get-servlets.md
+++ 
b/src/main/jbake/content/documentation/bundles/rendering-content-default-get-servlets.md
@@ -64,6 +64,8 @@ rendering resources that are backed by JCR nodes.
 
 Whenever the request carries the extension `.res` or no extension at all, the 
resource's input stream is spooled to the servlet response (leveraging 
`Resource.adaptTo(InputStream.class)`). This servlet supports conditional 
requests ([RFC 7232](https://tools.ietf.org/html/rfc7232)) based on the 
last-modified response header by evaluating the resource's modification date 
from `Resource.getResourceMetadata().getModificationTime()`  and range requests 
([RFC 7233](https://tools.ietf.org/html/ [...]
 
+In case the underlying resource's InputStream is an 
[ExternalizableInputStream](https://github.com/apache/sling-org-apache-sling-api/blob/master/src/main/java/org/apache/sling/api/resource/external/ExternalizableInputStream.java)
 instead a redirect towards its URI is triggered 
([SLING-7140](https://issues.apache.org/jira/browse/SLING-7140)).
+
 ## RedirectServlet
 
 The `RedirectServlet` handles the `sling:redirect` resource type, using the 
`sling:target` property of the
@@ -197,4 +199,4 @@ fact that it is also registered for the _res_ extension. 
The code to do what wou
         .forward(request, response);  
 
 See also [SLING-8742 - Allow overriding the extension when using the 
RequestDispatcher](https://issues.apache.org/jira/browse/SLING-8742)
-for a discussion on providing an API for this use case.  
\ No newline at end of file
+for a discussion on providing an API for this use case.  

Reply via email to