Socket
Socket
Sign inDemoInstall

mock-http-server

Package Overview
Dependencies
48
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.4.5

Diff

Changelog

Source

1.4.5 (2021-11-17)

  • Fixed multipart/form-data double body parse error.
lele85
published 1.4.4 •

Changelog

Source

1.4.4 (2021-06-08)

  • Improve fallback to text/plain body parse in the request when format is not handled.
lele85
published 1.4.3 •

Changelog

Source

1.4.3 (2021-05-28)

  • Fallback to text/plain body parse in the request when format is not handled.
teo310182
published 1.4.2 •

pracucci
published 1.4.1 •

Changelog

Source

1.4.1 (2019-10-07)

  • Fixed requests() filtering: multiple conditions are now in and instead of or (PR #21 - thanks to danroshko)
pracucci
published 1.4.0 •

Changelog

Source

1.4.0 (2019-09-16)

  • Added support to parse request body with Content-Type: text-plain (PR #20 - thanks to esanchezm)
spreaker
published 1.3.0 •

Changelog

Source

1.3.0 (2019-07-31)

  • Added resetHandlers() (PR #19 - thanks to jyte)
spreaker
published 1.2.0 •

Changelog

Source

1.2.0 (2018-12-12)

  • Added getHttpPort() and getHttpsPort() (PR #18 - thanks to Nautigsam)
spreaker
published 1.1.0 •

Changelog

Source

1.1.0 (2018-11-14)

  • 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)
pracucci
published 1.0.0 •

Changelog

Source

1.0.0 (2018-04-26)

  • Added reply.end support
  • Added connections() support
  • Documented reply.headersOverrides
  • Remove headers from response, whose value is undefined
  • End all the connections on server.stop() before closing the HTTP server
2Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc