This commit is contained in:
thosakwe 2017-04-10 10:46:24 -04:00
parent 3e32ea0b8e
commit 5d4d2da48b
3 changed files with 9 additions and 9 deletions

View file

@ -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.

View file

@ -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 {
else {*/
if (value is List<int>)
buffer.add(value);
else
buffer.add(encoding.encode(value.toString()));
}
//}
}
}

View file

@ -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 <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_framework