unfiltered 0.6.2
New Features
Multipart POST support for Netty
This substantial contribution by g-eorge handles file of uploads of arbitrary size, as previously supported only for filter plans. See the netty-uploads readme for details.
Migration Note: If you were using the unfiltered-uploads module before, you should now depend on unfiltered-filter-uploads. The former now serves as a base implementation for the filter and netty upload modules.
Kits
- unfiltered.kit.Secure redirects HTTP requests to HTTPS.
- unfiltered.kit.Auth requires basic auth for matching requests.
- unfiltered.kit.AsyncCycle — removed this promise/future-aware kit for the time being
Extractors
- unfiltered.request.QueryParams allows access to query-string parameters exclusively, doesn't read in the request body for POST params
- unfiltered.request.Charset The existing extractor yielded both the charset string as well as an
HttpRequestobject in the older fashion of Unfiltered. This is altered to now only yield the charset, which is a breaking change. If you see a compilation error for a Charset matcher, simply remove the trailing prameter in its parameter list. - unfiltered.request.{Accept,AcceptCharset,AcceptEncoding,AcceptLanguage} all behave more correctly thanks to hamnis's content negotiation fixes.
Response Functions
- Support for rfc6585, additional status codes
Fixes
- Issue 110 Keymanagers loaded redundantly for Netty bindings
- Issue 111 TLS contexts created redudantly for Netty bindings
- Issue 119 NoSuchElementException for parameterValues
- Issue 123 Find path suffix only from path part of uri
- Issue 126 Tiny fix in url generation for Jetty Https Server
Unfiltered is a toolkit for servicing HTTP requests in Scala.
