Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
windkit opened this issue Nov 16, 2017 · 0 comments
Closed

Comments

@windkit
Copy link
Contributor

windkit commented Nov 16, 2017

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

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

No branches or pull requests

3 participants