Skip to content

Commit

Permalink
♻️ Use flutter-io.cn rather than neverssl.com (#2325)
Browse files Browse the repository at this point in the history
NeverSSL no longer supports H2 headers upgrade without TLS. All
alternatives I've searched are not supported:
- http://www.gstatic.com/generate_204
- http://http.badssl.com/
- http://flutter.dev/

Surprisingly, http://flutter-io.cn/ supports all functionality. 😮

---------

Signed-off-by: Luke Cheng <2258420+chenglu@users.noreply.github.com>
Co-authored-by: Luke Cheng <2258420+chenglu@users.noreply.github.com>
  • Loading branch information
AlexV525 and chenglu authored Nov 10, 2024
1 parent 5c5a926 commit 0f1c46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dio_test/lib/src/test/basic_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void basicTests(
group('basic request', () {
test(
'works with non-TLS requests',
() => dio.get('http://neverssl.com/'),
() => dio.get('http://flutter-io.cn/'),
testOn: 'vm',
);

Expand Down

0 comments on commit 0f1c46e

Please # to comment.