Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-23 | format with cargo fmt | Martin Fischer | |
2021-04-10 | drop dependency on cookie & time crates | Martin Fischer | |
2021-04-09 | make hyper dependency optional | Martin Fischer | |
2021-01-29 | add documentation | Martin Fischer | |
2021-01-26 | response: improve cookie & content-type methods | Martin Fischer | |
* add SputnikBuilder::set_cookie * make delete_cookie an independent method * add SputnikHeaders::content_type | |||
2021-01-26 | introduce SputnikParts::response_headers | Martin Fischer | |
2021-01-26 | fix wrong insertion/appending of headers | Martin Fischer | |
2021-01-24 | define & impl traits instead of wrapping types | Martin Fischer | |
bump version to 0.3.0 | |||
2021-01-18 | split Request wrapper into Parts & Bodyv0.2.0 | Martin Fischer | |
Originally the into_ functions actually consumed the request but I changed that to make request information like URI and method still accessible after the request has been read. Not consuming the Request however allows e.g. into_form() to be called twice, which results in a panic since the body can only be read once. This commit splits the Request wrapper into two wrappers Parts & Body, allowing the borrow checker to guarantee that the body is only consumed once, while keeping the other request information accessible after the body has been consumed. Version bumped to 0.2.0. |