hapijs / catbox

Multi-strategy object caching service
Other
494 stars 72 forks source link

Expose http header generators as util methods #91

Closed kpdecker closed 10 years ago

kpdecker commented 10 years ago

Would be nice to have the logic that is used to generate the http cache headers to be exposed as a utility method so users that need to provide explicit cache headers can use the same config values as used in the route definitions.

kpdecker commented 10 years ago

Related to https://github.com/hapijs/hapi/issues/1984

hueniverse commented 10 years ago

I don't think this belongs here. I am not sure what this interface should look like but it sounds like another module. The method in hapi is completely tied to the request object and response object. Without those parts, it is a single line that concat string parts together.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.