Closed MDrooker closed 8 years ago
Debug: internal, implementation, error TypeError: Uncaught error: request.response.header is not a function at setCacheControlHeaders (/Users/matthewjon/Development/Projects/watercooler-api/node_modules/cnn-hapi/main.js:63:26)
request.response.header('Surrogate-Control', surrogateControl);
Its because you need to check for isBoom...this fails if a 404 is being served
0.5.1 released
Debug: internal, implementation, error TypeError: Uncaught error: request.response.header is not a function at setCacheControlHeaders (/Users/matthewjon/Development/Projects/watercooler-api/node_modules/cnn-hapi/main.js:63:26)
request.response.header('Surrogate-Control', surrogateControl);