Skip to content

Commit

Permalink
Fixed linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vicajilau committed Feb 8, 2025
1 parent 759b833 commit eb3fa4f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/src/http/http_content_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ class _HeaderValue {
if (char == " " ||
char == "\t" ||
char == valueSeparator ||
char == parameterSeparator) break;
char == parameterSeparator) {
break;
}
index++;
}
return s.substring(start, index);
Expand Down Expand Up @@ -280,7 +282,9 @@ class _HeaderValue {
char == "\t" ||
char == "=" ||
char == parameterSeparator ||
char == valueSeparator) break;
char == valueSeparator) {
break;
}
index++;
}
return s.substring(start, index).toLowerCase();
Expand Down

0 comments on commit eb3fa4f

Please sign in to comment.