Skip to content

[leo_gateway] Content-Range Header is not set in Range Request Reply #937

Closed
@windkit

Description

For a Range Request, Content-Range Header is not set in the reply.

The http request is :

Accept:*/*
Accept-Encoding:identity;q=1, *;q=0
Accept-Language:en,zh-CN;q=0.8,zh;q=0.6
Connection:keep-alive
Host:localhost:8080
Range:bytes=0-
Referer:http://localhost:8080/1.mp4
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

tocmat:

Accept-Ranges:bytes
Content-Length:10419330
Content-Range:bytes 0-10419329/10419330
Content-Type:video/mp4
Date:Wed, 15 Nov 2017 07:29:37 GMT
Last-Modified:Wed, 15 Nov 2017 07:15:14 GMT

leofs:

Connection:keep-alive
Content-Length:10419330
Content-Type:video/mp4
Date:Wed, 15 Nov 2017 07:23:38 GMT
Last-Modified:Fri, 10 Nov 2017 07:10:01 GMT
Server:LeoFS

Reference

https://tools.ietf.org/html/rfc7233#section-4.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions