src code
Ajax.Response#getAllHeaders() → String | null
Returns a String containing all headers separated by line breaks. Does not throw errors if no headers are present the way its native counterpart does.
String