We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862ca32 commit 16c40d0Copy full SHA for 16c40d0
lib/src/registrator.dart
@@ -111,7 +111,7 @@ class Registrator {
111
return;
112
}
113
114
- var extraHeaders = [];
+ var extraHeaders = _extraHeaders ?? [];
115
116
extraHeaders.add(
117
'Contact: ${this._contact};expires=${this._expires}${this._extraContactParams}');
@@ -274,7 +274,7 @@ class Registrator {
274
this._registrationTimer = null;
275
276
277
278
279
if (unregister_all) {
280
extraHeaders.add('Contact: *${this._extraContactParams}');
0 commit comments