dukeofharen / httplaceholder

A very flexible cross platform HTTP stub application.
MIT License
109 stars 4 forks source link

Bugfix in mapping of request in requests API #316

Closed dukeofharen closed 1 year ago

dukeofharen commented 1 year ago

Pull request type

Please check the type of change your PR introduces:

What is the current behavior?

The new version of HttPlaceholder couldn't really handle some cases of the old request format, especially when an empty request body was sent.

What is the new behavior?

A simple check was added so it works again.

Does this introduce a breaking change?