smollweide / node-mock-server

File based Node REST API mock server
MIT License
255 stars 65 forks source link

Added headers to ejs context #118

Closed sebastiandeutsch closed 6 years ago

sebastiandeutsch commented 6 years ago

One of my projects requires to inspect headers and slightly return different mocks depending on a certain header. This PR adds headers to the EJS context. Would be cool to merge and release.

sebastiandeutsch commented 6 years ago

Hi @smollweide, I need this feature in a project. If you're busy then I'll continue working on a fork but it would be very awesome to get this merged. Keep up the good work <3.

smollweide commented 6 years ago

Hi @sebastiandeutsch, sorry for the delay. Your change part of release v023.6

Thank you for contributing

sebastiandeutsch commented 6 years ago

Thanks a lot.