| Index: pkg/shelf/lib/src/request.dart
|
| diff --git a/pkg/shelf/lib/src/request.dart b/pkg/shelf/lib/src/request.dart
|
| index 71c4e98200ae070092fbc202380b15bb372610ca..a6bcab1dcc71526f59ecce14b7b2f44bafb4d2e5 100644
|
| --- a/pkg/shelf/lib/src/request.dart
|
| +++ b/pkg/shelf/lib/src/request.dart
|
| @@ -71,14 +71,14 @@ class Request extends Message {
|
| // TODO(kevmoo) finish documenting the rest of the arguments.
|
| Request(this.method, Uri requestedUri, {String protocolVersion,
|
| Map<String, String> headers, Uri url, String scriptName,
|
| - Stream<List<int>> body})
|
| + Stream<List<int>> body, Map<String, String> context})
|
| : this.requestedUri = requestedUri,
|
| this.protocolVersion = protocolVersion == null ?
|
| '1.1' : protocolVersion,
|
| this.url = _computeUrl(requestedUri, url, scriptName),
|
| this.scriptName = _computeScriptName(requestedUri, url, scriptName),
|
| super(body == null ? new Stream.fromIterable([]) : body,
|
| - headers: headers) {
|
| + headers: headers, context: context) {
|
| if (method.isEmpty) throw new ArgumentError('method cannot be empty.');
|
|
|
| // TODO(kevmoo) use isAbsolute property on Uri once Issue 18053 is fixed
|
|
|