Skip to content

Commit f1acb17

Browse files
authored
Fix location of responseHeaders API doc (#303)
1 parent b94d90a commit f1acb17

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web/lib/src/helpers/extensions.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ extension TouchListConvert on TouchList {
105105
List<Touch> toList() => JSImmutableListWrapper<TouchList, Touch>(this);
106106
}
107107

108-
/// Returns all response headers as a key-value map.
109-
///
110-
/// Multiple values for the same header key can be combined into one,
111-
/// separated by a comma and a space.
112-
///
113-
/// See: http://www.w3.org/TR/XMLHttpRequest/#the-getresponseheader()-method
114108
extension XMLHttpRequestGlue on XMLHttpRequest {
109+
/// Returns all response headers as a key-value map.
110+
///
111+
/// Multiple values for the same header key can be combined into one,
112+
/// separated by a comma and a space.
113+
///
114+
/// See: https://xhr.spec.whatwg.org/#the-getresponseheader()-method
115115
Map<String, String> get responseHeaders {
116116
// from Closure's goog.net.Xhrio.getResponseHeaders.
117117
final headers = <String, String>{};

0 commit comments

Comments
 (0)