Skip to content

Commit

Permalink
Update response_status_line_tests.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Sep 15, 2023
1 parent 1ed024e commit 128a4f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void testResponseStatusLine(Client client) async {
httpServerChannel.sink.add('HTTP/1.1 201');
final response = await client.get(Uri.http(host, ''));
expect(response.statusCode, 201);
// Any empty Reason-Phrase is allowed according to RFC-2616. Any of these
// An empty Reason-Phrase is allowed according to RFC-2616. Any of these
// interpretations seem reasonable.
expect(response.reasonPhrase, anyOf(isNull, '', 'Created'));
});
Expand Down

0 comments on commit 128a4f9

Please sign in to comment.