sideshowcoder / canned

Server to respond with fake API responses, by using a directory of files for finding out what to say!
213 stars 46 forks source link

Status code combined with other options is not working #62

Closed sideshowcoder closed 9 years ago

sideshowcoder commented 9 years ago

discovered while working on #58 combining statusCode and headers on seperate lines with //! does not work

//! statusCode: 201
//! body: { "foo": "bar" }

This should be handled by extractOptions which is only handling the status code right now.