| Index: lib/src/message.dart
|
| diff --git a/lib/src/message.dart b/lib/src/message.dart
|
| index 514eb48569859522842892ea026fe983dcd0ca49..ba5c5fa5441d22853f3a21ffc03a616141d81fba 100644
|
| --- a/lib/src/message.dart
|
| +++ b/lib/src/message.dart
|
| @@ -46,10 +46,10 @@ abstract class Message {
|
| /// Creates a new [Message].
|
| ///
|
| /// If [headers] is `null`, it is treated as empty.
|
| - Message(this._body, {Map<String, String> headers,
|
| - Map<String, Object> context})
|
| + Message(this._body,
|
| + {Map<String, String> headers, Map<String, Object> context})
|
| : this.headers = new ShelfUnmodifiableMap<String>(headers,
|
| - ignoreKeyCase: true),
|
| + ignoreKeyCase: true),
|
| this.context = new ShelfUnmodifiableMap<Object>(context,
|
| ignoreKeyCase: false);
|
|
|
| @@ -107,7 +107,7 @@ abstract class Message {
|
| Stream<List<int>> read() {
|
| if (_bodyWasRead) {
|
| throw new StateError("The 'read' method can only be called once on a "
|
| - "shelf.Request/shelf.Response object.");
|
| + "shelf.Request/shelf.Response object.");
|
| }
|
| _bodyWasRead = true;
|
| return _body;
|
|
|