diff --git a/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java b/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java index b368f70a8..03d18674f 100644 --- a/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java +++ b/teavm-dom/src/main/java/org/teavm/dom/ajax/XMLHttpRequest.java @@ -50,6 +50,8 @@ public interface XMLHttpRequest extends JSObject { String getAllResponseHeaders(); + String getResponseHeader(String name); + @JSProperty("onreadystatechange") void setOnReadyStateChange(ReadyStateChangeHandler handler);