-
Notifications
You must be signed in to change notification settings - Fork 278
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
Implement HttpTryFrom<HashMap<String,String>> for HeaderMap #326
Merged
Commits on Jul 2, 2019
-
Implement HttpTryFrom<HashMap<String,String>> for HeaderMap
This allows an easy conversion from HashMap<String,String> to HeaderMap<HeaderValue>. Doing this conversion used to be unnecessarily verbose because of the required mapping and error type conversions. The implementation is generic: impl<COLLECTION, K, V> HttpTryFrom<COLLECTION> for HeaderMap<HeaderValue> where COLLECTION: IntoIterator<Item=(K, V)>, K: AsRef<str>, V: AsRef<str> so it also works for HashMap<HeaderName, String> and for vectors. Fixes hyperium#325
Configuration menu - View commit details
-
Copy full SHA for d591131 - Browse repository at this point
Copy the full SHA d591131View commit details -
Configuration menu - View commit details
-
Copy full SHA for b76d702 - Browse repository at this point
Copy the full SHA b76d702View commit details
Commits on Jul 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 660c4be - Browse repository at this point
Copy the full SHA 660c4beView commit details
Commits on Jul 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f2f91c7 - Browse repository at this point
Copy the full SHA f2f91c7View commit details
Commits on Jul 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1fbb55b - Browse repository at this point
Copy the full SHA 1fbb55bView commit details
Commits on Jul 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for baabb0a - Browse repository at this point
Copy the full SHA baabb0aView commit details
Commits on Jul 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c951ff9 - Browse repository at this point
Copy the full SHA c951ff9View commit details
Commits on Jul 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7c4dafe - Browse repository at this point
Copy the full SHA 7c4dafeView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.