OLD | NEW |
1 ## 0.11.0 | 1 ## 0.11.0 |
2 | 2 |
| 3 * The package no longer depends on `dart:io`. The `BrowserClient` class in |
| 4 `package:http/browser_client.dart` can now be used to make requests on the |
| 5 browser. |
| 6 |
3 * Change `MultipartFile.contentType` from `dart:io`'s `ContentType` type to | 7 * Change `MultipartFile.contentType` from `dart:io`'s `ContentType` type to |
4 `http_parser`'s `MediaType` type. | 8 `http_parser`'s `MediaType` type. |
5 | 9 |
6 * Exceptions are now of type `ClientException` rather than `dart:io`'s | 10 * Exceptions are now of type `ClientException` rather than `dart:io`'s |
7 `HttpException`. | 11 `HttpException`. |
8 | 12 |
9 ## 0.10.0 | 13 ## 0.10.0 |
10 | 14 |
11 * Make `BaseRequest.contentLength` and `BaseResponse.contentLength` use `null` | 15 * Make `BaseRequest.contentLength` and `BaseResponse.contentLength` use `null` |
12 to indicate an unknown content length rather than -1. | 16 to indicate an unknown content length rather than -1. |
13 | 17 |
14 * The `contentLength` parameter to `new BaseResponse` is now named rather than | 18 * The `contentLength` parameter to `new BaseResponse` is now named rather than |
15 positional. | 19 positional. |
16 | 20 |
17 * Make request headers case-insensitive. | 21 * Make request headers case-insensitive. |
18 | 22 |
19 * Make `MultipartRequest` more closely adhere to browsers' encoding conventions. | 23 * Make `MultipartRequest` more closely adhere to browsers' encoding conventions. |
OLD | NEW |