Skip to content

Commit 6d99eab

Browse files
authored
Fix failure test with breaking HTTP Header change (flutter#132)
Use a lowercase header name so that it is the same whether or not the SDK forces lowercase.
1 parent fa3b793 commit 6d99eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/shelf_io_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ void main() {
209209
expect(channel.stream.first, completion(equals('Hello'.codeUnits)));
210210

211211
channel.sink.add(('HTTP/1.1 404 Not Found\r\n'
212-
'Date: Mon, 23 May 2005 22:38:34 GMT\r\n'
212+
'date: Mon, 23 May 2005 22:38:34 GMT\r\n'
213213
'Content-Length: 13\r\n'
214214
'\r\n'
215215
'Hello, world!')

0 commit comments

Comments
 (0)