Skip to content

v2.3.0

Compare
Choose a tag to compare
@jbr jbr released this 11 Jul 22:43
dd19cf0

This release one bug and adds several non-breaking enhancements.

Bugfix:

  • #189 adds std::marker::Sync to the return type of Body::into_reader

Enhancements:

  • #188 Adds as_str to http_types::mime::ParamName and http_types::mime::ParamValue
  • #194 Adds http dav extension status code 207
  • #196 Adds an XML mime constant and matches the .xml file extension to it
  • #197 Adds a public Mime::from_extension, exposing file extension matching outside of the http-types
  • #199 Adds Body::mime() and Body::set_mime(), allowing external crates to set a custom mime type on a body

Internal:

  • #178 http-types now conforms to clippy lints and CI runs clippy by default