diff --git a/README.md b/README.md index afa70e62..bd34cb42 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_framework -[![pub 1.0.0-dev.69](https://img.shields.io/badge/pub-1.0.0--dev.69-red.svg)](https://pub.dartlang.org/packages/angel_framework) +[![pub 1.0.0-dev.70](https://img.shields.io/badge/pub-1.0.0--dev.70-red.svg)](https://pub.dartlang.org/packages/angel_framework) [![build status](https://travis-ci.org/angel-dart/framework.svg)](https://travis-ci.org/angel-dart/framework) Core libraries for the Angel Framework. diff --git a/lib/src/http/request_context.dart b/lib/src/http/request_context.dart index 805778e3..e8f291ba 100644 --- a/lib/src/http/request_context.dart +++ b/lib/src/http/request_context.dart @@ -188,7 +188,7 @@ class RequestContext extends Extensible { /// Retrieves the request files if it has already been parsed, or lazy-parses it before returning the files. Future> lazyFiles() => parse().then((b) => b.files); - /// Retrieves the request files if it has already been parsed, or lazy-parses it before returning the files. + /// Retrieves the original request buffer if it has already been parsed, or lazy-parses it before returning the files. /// /// This will return an empty `List` if you have not enabled `storeOriginalBuffer` on your [app] instance. Future> lazyOriginalBuffer() => @@ -199,7 +199,7 @@ class RequestContext extends Extensible { /// If [forceParse] is not `true`, then [uri].query will be returned, and no parsing will be performed. Future> lazyQuery({bool forceParse: false}) { if (_body == null && forceParse != true) - return new Future.value(uri.query); + return new Future.value(uri.queryParameters); else return parse().then((b) => b.query); } diff --git a/pubspec.yaml b/pubspec.yaml index 547697e1..83b150fa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 1.0.0-dev.69 +version: 1.0.0-dev.70 description: Core libraries for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_framework