From 4ad4180f2275562600113b503f0044d108461afb Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sat, 14 Jan 2017 08:56:14 -0500 Subject: [PATCH] 45 --- README.md | 2 +- lib/src/http/request_context.dart | 3 +++ pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index feeb1982..fa04b8c1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_framework -[![pub 1.0.0-dev.44](https://img.shields.io/badge/pub-1.0.0--dev.44-red.svg)](https://pub.dartlang.org/packages/angel_framework) +[![pub 1.0.0-dev.45](https://img.shields.io/badge/pub-1.0.0--dev.45-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 47680402..0050eadd 100644 --- a/lib/src/http/request_context.dart +++ b/lib/src/http/request_context.dart @@ -46,6 +46,9 @@ class RequestContext extends Extensible { /// Any and all files sent to the server with this request. List get files => _body.files; + /// The original body bytes sent with this request. May be empty. + List get originalBuffer => _body.originalBuffer ?? []; + /// The URL parameters extracted from the request URI. Map params = {}; diff --git a/pubspec.yaml b/pubspec.yaml index 097ffe77..2dca254b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 1.0.0-dev.44 +version: 1.0.0-dev.45 description: Core libraries for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_framework