Skip to content

Add automatic response time header? #160

@bompus

Description

@bompus

I'd like to see maybe another hook that gets executed after User Handler or after Reply, just prior to sending off the headers, which would allow me to setHeader X-Response-Time or whatever I'd like.

Perhaps this is already possible, but the only way I could see is to hijack res.writeHead, etc to inject my header. It'd be much easier if there were simply a hook where I could add this.

If this is already possible and I am ignorant, please let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral question about the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions