getResponseHeader generate an exception if header is not available