• name {string}
    • Returns: {string}

    Reads out a header that has already been queued but not sent to the client. The name is case-insensitive.

    1. const contentType = response.getHeader('content-type');