You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/28 14:35:51 UTC

[jira] Commented: (SLING-288) StreamRendererServlet should set response content length if available

    [ https://issues.apache.org/jira/browse/SLING-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573275#action_12573275 ] 

Felix Meschberger commented on SLING-288:
-----------------------------------------

Adapted the patch slightly modified:

Rev. 631966
Sling API, define the set/getContentLength methods using long instead of Long objects and return -1 if length unknown

Rev. 631967
   * Implement support in JcrNodeResource to also set the content length if the data property is found following primaryItem trail
   * Implement support in JcrPropertyResource
   * Implement support in BundleResource

Rev. 631968
Setting the response content length from the resource meta data property in the StreamRendererServlet

> StreamRendererServlet should set response content length if available
> ---------------------------------------------------------------------
>
>                 Key: SLING-288
>                 URL: https://issues.apache.org/jira/browse/SLING-288
>             Project: Sling
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>         Attachments: content_length_fix.r631795.patch
>
>
> currently the stream servlet does not set the response content length. which can be a problem when downloading larger files (i.e. music, movies).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.