headers


headersobject

Sets or gets the HTTP response header fields.

The headers property contains an object of key:value pairs where the key is the header field name and the value is the header field value.

When defining a content-type key, note that for Free sites,text/html is not supported. Premium sites support all content types.

Was this helpful?
Yes
No