blob: 2dabfa76dc44b0bf076ea741beb3167759b6b273 [file] [edit]
// Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@TestOn('browser')
library;
import 'package:http/browser_client.dart';
import 'package:http_client_conformance_tests/http_client_conformance_tests.dart';
import 'package:test/test.dart';
void main() {
testAll(
BrowserClient.new,
redirectAlwaysAllowed: true,
canStreamRequestBody: false,
canStreamResponseBody: true,
canSendProxyAuthorizationHeaders: false,
canSetUserInfo: false,
canWorkInIsolates: false,
correctCrossHostRedirect: true,
supportsMultipartRequest: false,
supportsAbort: true,
);
}