Changed
- An empty value (
Some("")
orSome([])
) is now returned when retrieving
value of a HTTP header or trailer with an empty value. This is consistent
with the representation when retrieving a full HTTP header or trailer map.
Previously, a "no value" (None
) was being returned, which made an empty
value indistinguishable from a non-existent HTTP header or trailer.
Thanks @prembhaskal!
Added
-
Added support for foreign function callbacks.
Thanks @casimiro! -
Added convenience functions to remove headers and trailers.
Thanks @itsLucario! -
Added convenience function to remove shared data.