This commit is contained in:
thosakwe 2017-03-28 20:36:54 -04:00
parent cc793f6736
commit 218465a26f
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# angel_framework # 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) [![build status](https://travis-ci.org/angel-dart/framework.svg)](https://travis-ci.org/angel-dart/framework)
Core libraries for the Angel Framework. Core libraries for the Angel Framework.

View file

@ -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. /// Retrieves the request files if it has already been parsed, or lazy-parses it before returning the files.
Future<List<FileUploadInfo>> lazyFiles() => parse().then((b) => b.files); Future<List<FileUploadInfo>> 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. /// This will return an empty `List` if you have not enabled `storeOriginalBuffer` on your [app] instance.
Future<List<int>> lazyOriginalBuffer() => Future<List<int>> 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. /// If [forceParse] is not `true`, then [uri].query will be returned, and no parsing will be performed.
Future<Map<String, dynamic>> lazyQuery({bool forceParse: false}) { Future<Map<String, dynamic>> lazyQuery({bool forceParse: false}) {
if (_body == null && forceParse != true) if (_body == null && forceParse != true)
return new Future.value(uri.query); return new Future.value(uri.queryParameters);
else else
return parse().then((b) => b.query); return parse().then((b) => b.query);
} }

View file

@ -1,5 +1,5 @@
name: angel_framework name: angel_framework
version: 1.0.0-dev.69 version: 1.0.0-dev.70
description: Core libraries for the Angel framework. description: Core libraries for the Angel framework.
author: Tobe O <thosakwe@gmail.com> author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_framework homepage: https://github.com/angel-dart/angel_framework