Skip to content

Commit

Permalink
Updated docs to reflect that Response.change(body: null) will not work (
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfj authored and natebosch committed Jan 6, 2020
1 parent d435c32 commit fbc691a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class Response extends Message {
/// in the copied [Response] unchanged.
///
/// [body] is the request body. It may be either a [String], a [List<int>], a
/// [Stream<List<int>>], or `null` to indicate no body.
/// [Stream<List<int>>], or `<int>[]` (empty list) to indicate no body.
@override
Response change(
{Map<String, String> headers, Map<String, Object> context, body}) {
Expand Down

0 comments on commit fbc691a

Please sign in to comment.