Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit 9349238

Browse files
authored
Merge pull request #63 from Classy-Bear/master
Fix known issues: Tutorial 'Write HTTP clients & servers' doesn't workk as expected
2 parents d59dfbb + 6c9a13b commit 9349238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httpserver/bin/mini_file_server.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Future main() async {
3939
} else {
4040
print("Can't open ${targetFile.path}.");
4141
req.response.statusCode = HttpStatus.notFound;
42-
await req.response.close();
4342
}
43+
await req.response.close();
4444
}
4545
}

0 commit comments

Comments
 (0)