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

Fixes multiple problems in last-modified handling #713

Merged
merged 1 commit into from
Sep 26, 2018
Merged

Fixes multiple problems in last-modified handling #713

merged 1 commit into from
Sep 26, 2018

Conversation

vbfox
Copy link
Contributor

@vbfox vbfox commented Sep 26, 2018

  • The header value wasn't in GMT (It was the time on the current server timezone with 'GMT' written after)
  • On filesystems with millisecond precision times in fstat a 304 was never returned as the header value is only precise to the second. (All recent linux FS and windows NTFS are in this case)
  • Last accessed time was used instead of last modified

* The header value wasn't in GMT
* On filesystems with millisecond precision times in fstat 304 was never
  returned
* Last accessed time was used instead of last modified
@ademar ademar merged commit d7535cf into SuaveIO:master Sep 26, 2018
@ademar
Copy link
Member

ademar commented Sep 26, 2018

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants