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

Drop ETag and use Last-Modified header #890

Merged
merged 2 commits into from Feb 13, 2019

Conversation

cvium
Copy link
Member

@cvium cvium commented Feb 13, 2019

Changes
Dropped ETag in favour of Last-Modified since it's very hard to determine proper file type without major changes. Computing ETags is just not very robust or useful in that case.

Issues
Fixes #873
Supercedes #886

@cvium cvium changed the base branch from master to release-10.2.z February 13, 2019 19:48
@cvium cvium changed the title Switch to lastmodified Drop ETag and use Last-Modified header Feb 13, 2019
@cvium cvium requested review from Bond-009 and JustAMan and removed request for Bond-009 February 13, 2019 19:51
Copy link
Contributor

@JustAMan JustAMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, though I would rather keep etag for small files.

@cvium
Copy link
Member Author

cvium commented Feb 13, 2019

@JustAMan

Looks fine, though I would rather keep etag for small files.

It's just more code to maintain and more complex logic. If and when we have a more sensible http server I think it'll be more feasible.

@Bond-009 Bond-009 merged commit c720504 into jellyfin:release-10.2.z Feb 13, 2019
@cvium cvium deleted the switch_to_lastmodified branch February 13, 2019 20:19
@joshuaboniface joshuaboniface added this to In progress in Release 10.2.0 via automation Feb 13, 2019
@joshuaboniface joshuaboniface moved this from In progress to Done in Release 10.2.0 Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants