+1
This commit is contained in:
parent
3e32ea0b8e
commit
5d4d2da48b
3 changed files with 9 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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()));
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue