Method description:
Read header information that has been queued but has not been sent to the client.
grammar:
The code copy is as follows:
response.getHeader(name)
Receive parameters:
name The type of response header, note that this name is case-insensitive.
example:
The code copy is as follows:
var contentType = response.getHeader('content-type');