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

WIP: Changes for the upcoming iron 0.7 release with hyper 0.12 #104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zgtm
Copy link

@zgtm zgtm commented Feb 20, 2019

This PR contains all the changes necessary for staticfile to work with the new iron crate based on hyper 0.12.

However, the tests are not updated so far, as they need the crate iron_test to be updated, which has not happend so far. Thus, I marked this PR as WIP for now, but if we want to release without updating iron_test, we could also drop the tests for now.

In order to get everything working, I copied the source of HttpDate from hyper 0.11 (src/hyper/header/shared/httpdate.rs). Since this crate and hyper are both MIT licensed, I hope this should pose no problem.

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.

None yet

1 participant