- Remove single quote ("'" - ASCII 39) from boundary characters. Causes issues with Google Cloud Storage.
- remove boundary characters that package:http_parser cannot parse.
- Don't quote the boundary header for
MultipartRequest
. This is more compatible with server quirks.
- Fix the SDK constraint to only include SDK versions that support importing
dart:io
everywhere.
- Stop using
dart:mirrors
.
- Remove an extra newline in multipart chunks.
- Properly specify
Content-Transfer-Encoding
for multipart chunks.
- Declare compatibility with
http_parser
3.0.0.
- Fix one more strong mode warning in
http/testing.dart
.
- Fix some lingering strong mode warnings.
- Fix all strong mode warnings.
- Support
http_parser
2.0.0.
-
Require Dart SDK >= 1.9.0
-
Eliminate many uses of
Chain.track
from thestack_trace
package.
- Support
http_parser
1.0.0.
- Add a
Client.patch
shortcut method and a matching top-levelpatch
method.
- Add a
BrowserClient.withCredentials
property.
- Properly namespace an internal library name.
- Widen the version constraint on
unittest
.
- Widen the version constraint for
stack_trace
.
- Expose the
IOClient
class which wraps adart:io
HttpClient
.
- Fix a bug in handling errors in decoding XMLHttpRequest responses for
BrowserClient
.
-
The package no longer depends on
dart:io
. TheBrowserClient
class inpackage:http/browser_client.dart
can now be used to make requests on the browser. -
Change
MultipartFile.contentType
fromdart:io
'sContentType
type tohttp_parser
'sMediaType
type. -
Exceptions are now of type
ClientException
rather thandart:io
'sHttpException
.
-
Make
BaseRequest.contentLength
andBaseResponse.contentLength
usenull
to indicate an unknown content length rather than -1. -
The
contentLength
parameter tonew BaseResponse
is now named rather than positional. -
Make request headers case-insensitive.
-
Make
MultipartRequest
more closely adhere to browsers' encoding conventions.