From 5d4d2da48b2117c1f8613b88aede98ed068dc454 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Mon, 10 Apr 2017 10:46:24 -0400 Subject: [PATCH] +1 --- README.md | 2 +- lib/src/http/response_context.dart | 14 +++++++------- pubspec.yaml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fd1cbe97..abb1495e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_framework -[![pub 1.0.0](https://img.shields.io/badge/pub-1.0.0-brightgreen.svg)](https://pub.dartlang.org/packages/angel_framework) +[![pub 1.0.0+1](https://img.shields.io/badge/pub-1.0.0+1-brightgreen.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) A high-powered HTTP server with support for dependency injection, sophisticated routing and more. diff --git a/lib/src/http/response_context.dart b/lib/src/http/response_context.dart index bf39f553..e666bf8a 100644 --- a/lib/src/http/response_context.dart +++ b/lib/src/http/response_context.dart @@ -305,14 +305,14 @@ class ResponseContext extends Extensible { /// Writes data to the response. void write(value, {Encoding encoding: UTF8}) { - if (!_isOpen) + /*if (!_isOpen) throw _closed(); - else { - if (value is List) - buffer.add(value); - else - buffer.add(encoding.encode(value.toString())); - } + else {*/ + if (value is List) + buffer.add(value); + else + buffer.add(encoding.encode(value.toString())); + //} } } diff --git a/pubspec.yaml b/pubspec.yaml index dbe75ad5..207b8c5f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_framework -version: 1.0.0 +version: 1.0.0+1 description: A high-powered HTTP server with DI, routing and more. author: Tobe O homepage: https://github.com/angel-dart/angel_framework