You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/02/28 02:00:51 UTC
[jira] Created: (SLING-288) StreamRendererServlet should set
response content length if available
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
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.
[jira] Commented: (SLING-288) StreamRendererServlet should set
response content length if available
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (SLING-288) StreamRendererServlet should set
response content length if available
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-288.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Considering this issue fixed. Please closed if this solves your issue. Thanks.
> 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.
[jira] Closed: (SLING-288) StreamRendererServlet should set
response content length if available
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra closed SLING-288.
----------------------------------
works great. thanks.
> 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.
[jira] Updated: (SLING-288) StreamRendererServlet should set
response content length if available
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra updated SLING-288:
-----------------------------------
Attachment: content_length_fix.r631795.patch
patch provides an extension to the resource metadata for the content length and alters jcr node resource to include the length of the binary property when the stream is fetched. if the content length metadata is available the stream render servlet sets the response content length.
> 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
> 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.
[jira] Assigned: (SLING-288) StreamRendererServlet should set
response content length if available
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned SLING-288:
---------------------------------------
Assignee: Felix Meschberger
> 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
> 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.