Skip to content

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.

1 participant