reply.continue(err) should have a second 'options' object that will allow adding custom headers. This will be helpful when sending error status code for different types of errors.
The following option properties makes sense:
{
status : code // error status code
headers : obj // key value pairs of headers that needs to be set on the reply
}
reply.continue(err) should have a second 'options' object that will allow adding custom headers. This will be helpful when sending error status code for different types of errors.
The following option properties makes sense:
{
status : code // error status code
headers : obj // key value pairs of headers that needs to be set on the reply
}