v0.1.12
Pre-release
Pre-release
Changes
- Add
get_status
function to makeStatusCode
accessible - Add doctests to Request module methods
- Add path parameter to
get
,post
,put
patch
,delete
methods in Router module - Add
get_query_param
method to Request for handling query parameters easily - Update
insert_header
toset_header
- Update
update_body
toset_body
- Update
add_local
toset_local
- Update
is_err
tois_error
- Update get_header return type from
Option<&String>
toOption<&str>
- Update get_path return type from
&String
to&str
- Update name of
get_queries
method toget_query_params
- Update
get_method
to make method public - Update request body parser to handle body better
- Update request parser
- Update Request module to improve documentation
Fixes
-
Fix query parameter parsing for routes that doesn't have parameters
-
Bump serde_json from 1.0.127 to 1.0.128 by @dependabot in #16