You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ChenXi (Jira)" <ji...@apache.org> on 2022/09/02 06:37:00 UTC

[jira] [Commented] (HDDS-7200) S3 range get request returns incorrect code

    [ https://issues.apache.org/jira/browse/HDDS-7200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17599273#comment-17599273 ] 

ChenXi commented on HDDS-7200:
------------------------------

https://www.rfc-editor.org/rfc/rfc7233#section-4.1
The 206 (Partial Content) status code indicates that the server is successfully fulfilling a range request for the target resource
When the browser plays the video, it will get the video content in a range( will add such as: "Range: bytes=123-" at request header), The backend service should return this range of data and the returned status code should beĀ [206|https://www.rfc-editor.org/rfc/rfc7233#section-4.1], SO, the browser can normally recognize that this is a segment of a video. but the Ozone S3 returns this range of data with status code 200. So some browsers can not normally recognize that this is a segment.

> S3 range get request returns incorrect code
> -------------------------------------------
>
>                 Key: HDDS-7200
>                 URL: https://issues.apache.org/jira/browse/HDDS-7200
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: ChenXi
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org