5.0.0-rc.9
Pre-releaseIn addition to numerous typos, formatting and spacing issues fixed:
-
RouteScanner
now automatically ignores theGrapeseed
assembly -
On startup, if content folders have been added, a reminder is added to information log to also call the
server.UseContentFolders()
middleware. -
Added middleware
server.AutoParseFormUrlEncodedData()
. Using this will automatically parse your url-encoded form data and store it incontext.Locals
as aIDictionary<string,string>
under the keyFormData
. Does not work with multipart form data! -
Added extension method
IHttpRequest.ParseFormUrlEncodedData()
which will return a the url-encoded form data as aIDictionary<string,string>
. Because the input stream can only be read once, this method will only return data the first time it is called. It is recommended to use the aforementioned middleware instead of this method. -
Added
IHttpRequest.MultipartBoundary
, which will contain the multipart boundary for easy access to parse multipart data.
Updates to the Sample project:
-
Adds working NLog configuration to sample project
-
Added sample resources for parsing multipart data using HttpMultipartParser (see on GitHub)