Skip to content

Commit 346f25d

Browse files
authored
add a LICENSE file; tweaks to the readmes (dart-lang#709)
1 parent 9700bb0 commit 346f25d

File tree

5 files changed

+41
-12
lines changed

5 files changed

+41
-12
lines changed

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright 2014, the Dart project authors.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following
11+
disclaimer in the documentation and/or other materials provided
12+
with the distribution.
13+
* Neither the name of Google LLC nor the names of its
14+
contributors may be used to endorse or promote products derived
15+
from this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
A composable, Future-based library for making HTTP requests.
2-
31
[![Build Status](https://github.com/dart-lang/http/workflows/Dart%20CI/badge.svg)](https://github.com/dart-lang/http/actions?query=workflow%3A"Dart+CI"+branch%3Amaster)
42

3+
A composable, Future-based library for making HTTP requests.
4+
55
`package:http` contains a set of high-level functions and classes that make it
66
easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop,
77
and the browser.
@@ -10,5 +10,5 @@ and the browser.
1010

1111
| Package | Description | Version |
1212
|---|---|---|
13-
| [http](pkgs/http/) | A composable, Future-based library for making HTTP requests. | [![pub package](https://img.shields.io/pub/v/http.svg)](https://pub.dev/packages/http) |
14-
| [http_client_conformance_tests](pkgs/http_client_conformance_tests/) | Tests for `package:http` `Client` implementations. | [![pub package](https://img.shields.io/pub/v/http_client_conformance_tests.svg)](https://pub.dev/packages/http_client_conformance_tests) |
13+
| [http](pkgs/http/) | A composable, multi-platform, Future-based API for HTTP requests. | [![pub package](https://img.shields.io/pub/v/http.svg)](https://pub.dev/packages/http) |
14+
| [http_client_conformance_tests](pkgs/http_client_conformance_tests/) | A library that tests whether implementations of package:http's `Client` class behave as expected. | |

pkgs/http/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
A composable, Future-based library for making HTTP requests.
2-
31
[![pub package](https://img.shields.io/pub/v/http.svg)](https://pub.dev/packages/http)
4-
[![Build Status](https://github.com/dart-lang/http/workflows/Dart%20CI/badge.svg)](https://github.com/dart-lang/http/actions?query=workflow%3A"Dart+CI"+branch%3Amaster)
2+
[![package publisher](https://img.shields.io/pub/publisher/http.svg)](https://pub.dev/packages/http/publisher)
3+
4+
A composable, Future-based library for making HTTP requests.
55

66
This package contains a set of high-level functions and classes that make it
77
easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop,

pkgs/http_client_conformance_tests/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1+
[![pub package](https://img.shields.io/pub/v/http_client_conformance_tests.svg)](https://pub.dev/packages/http_client_conformance_tests)
2+
13
A library that tests whether implementations of `package:http`
2-
[`Client`'](https://pub.dev/documentation/http/latest/http/Client-class.html)
4+
[`Client`](https://pub.dev/documentation/http/latest/http/Client-class.html)
35
behave as expected.
46

57
This package is intended to be used in the tests of packages that implement
68
`package:http`
7-
[`Client`'](https://pub.dev/documentation/http/latest/http/Client-class.html).
9+
[`Client`](https://pub.dev/documentation/http/latest/http/Client-class.html).
810

911
## Usage
1012

1113
`package:http_client_conformance_tests` is meant to be used in the tests suite
1214
of a `package:http`
13-
[`Client`'](https://pub.dev/documentation/http/latest/http/Client-class.html)
15+
[`Client`](https://pub.dev/documentation/http/latest/http/Client-class.html)
1416
like:
1517

1618
```dart

pkgs/http_client_conformance_tests/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: http_client_conformance_tests
22
description: >
3-
A library that tests whether implementations of package:http Client behave
4-
as expected.
3+
A library that tests whether implementations of package:http's `Client` class
4+
behave as expected.
55
version: 0.0.1-dev
66
repository: https://github.com/dart-lang/http/tree/master/pkgs/http_client_conformance_tests
77

0 commit comments

Comments
 (0)