Rouille, Rust web server middleware v0.4.2 Release Notes
-
- ๐ The
content_encoding
module now supports brotli. - โ Added an
accept!
macro similar to amatch
expression that chooses a block depending on the value of theAccept
header of the request. - โ Added
proxy::full_proxy
. It behaves the same asproxy
but returns more status codes and less errors. - Added
Response::from_data
,from_file
,with_content_disposition_attachment
,empty_406
,with_public_cache
,with_private_cache
,with_no_cache
,without_header
,with_additional_header
andwith_unique_header
for easier response manipulation. - โ Added
Request::headers()
that provides an iterator to the list of headers. - Added
input::priority_header_preferred
andinput::parse_priority_header
to easily parse request headers such asAccept
orAccept-Language
. - MIME types that contain "font" are now also compressed by the
content_encoding
module. - ๐ Changed
text/xml
toapplication/xml
in the MIME types auto-determination.
- ๐ The