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 759b833 commit eb3fa4fCopy full SHA for eb3fa4f
lib/src/http/http_content_type.dart
@@ -248,7 +248,9 @@ class _HeaderValue {
248
if (char == " " ||
249
char == "\t" ||
250
char == valueSeparator ||
251
- char == parameterSeparator) break;
+ char == parameterSeparator) {
252
+ break;
253
+ }
254
index++;
255
}
256
return s.substring(start, index);
@@ -280,7 +282,9 @@ class _HeaderValue {
280
282
281
283
char == "=" ||
284
char == parameterSeparator ||
- char == valueSeparator) break;
285
+ char == valueSeparator) {
286
287
288
289
290
return s.substring(start, index).toLowerCase();
0 commit comments