Skip to content

Releases: spreaker/node-mock-http-server

1.4.2

01 Apr 08:14
d698568
Compare
Choose a tag to compare
  • Added a method to clear the requests history in order to reuse the server already created

1.4.1

07 Oct 13:21
Compare
Choose a tag to compare
  • Fixed requests() filtering: multiple conditions are now in and instead of or (PR #21 - thanks to danroshko)

1.4.0

16 Sep 07:10
Compare
Choose a tag to compare
  • Added support to parse request body with Content-Type: text-plain (PR #20 - thanks to esanchezm)

1.3.0

31 Jul 10:58
Compare
Choose a tag to compare
  • Added resetHandlers() (PR #19 - thanks to jyte)

1.2.0

12 Dec 17:48
Compare
Choose a tag to compare
  • Added getHttpPort() and getHttpsPort() (PR #18 - thanks to Nautigsam)

1.1.0

14 Nov 15:42
Compare
Choose a tag to compare
  • 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

18 Oct 16:18
Compare
Choose a tag to compare
  • Added wildcard support to path
  • Parse JSON in incoming request body when request content-type is "application/json"

Thanks to danedmunds for both PRs!