[
https://issues.apache.org/jira/browse/SLING-12322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848813#comment-17848813
]
Abhishek Garg commented on SLING-12322:
---------------------------------------
create a draft PR
[https://github.com/apache/sling-org-apache-sling-servlets-get/pull/14]
> Stream Reader should Return SC_OK if content length is less than specified
> range
> --------------------------------------------------------------------------------
>
> Key: SLING-12322
> URL: https://issues.apache.org/jira/browse/SLING-12322
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Servlets Get 2.2.0
> Reporter: Abhishek Garg
> Priority: Major
>
> if the Request contains following header :
> {code:java}
> Range: bytes=0-8388607 {code}
> and file length is less than this, then we should return SC_OK(200) instead
> ofÂ
> SC_PARTIAL_CONTENT(206).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)