Releases: spreaker/node-mock-http-server
Releases · spreaker/node-mock-http-server
1.4.2
- Added a method to clear the requests history in order to reuse the server already created
1.4.1
- Fixed
requests()
filtering: multiple conditions are now in and instead of or (PR #21 - thanks to danroshko)
1.4.0
- Added support to parse request body with
Content-Type: text-plain
(PR #20 - thanks to esanchezm)
1.3.0
- Added
resetHandlers()
(PR #19 - thanks to jyte)
1.2.0
- Added
getHttpPort()
and getHttpsPort()
(PR #18 - thanks to Nautigsam)
1.1.0
- Added support to parse urlencoded request body (PR #9 - thanks to zhaotian2470)
- Removed obsolete code in the parsing of JSON-encoded request body (PR #16 - thanks to pitpit)
0.2.0
- Added wildcard support to
path
- Parse JSON in incoming request body when request content-type is "application/json"
Thanks to danedmunds for both PRs!