getResponseHeader

external fun getResponseHeader(name: String): String?(source)

The XMLHttpRequest method getResponseHeader() returns the string containing the text of a particular header's value.

MDN Reference