mirror of https://github.com/http-rs/http-types
0937e60091
Currently the insert and append functions on Headers panics on illegal header value encoding. This commit exposes that failure mode to the library users by wrapping the return in a result instead. This change exposes a possible optimization in places where insert/append is called with values known to be safe by creating unsafe insertion/appending functions. This commit does not implement any such extensions. |
||
---|---|---|
.. | ||
etag.rs | ||
if_match.rs | ||
if_modified_since.rs | ||
if_none_match.rs | ||
if_unmodified_since.rs | ||
last_modified.rs | ||
mod.rs | ||
vary.rs |