Skip to content

Commit 07ab279

Browse files
committed
release 0.0.300 (#31)
* urgent fix: content_type typo --------- Co-authored-by: nggit <12218311+nggit@users.noreply.github.com>
1 parent 977c823 commit 07ab279

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='tremolo',
10-
version='0.0.209',
10+
version='0.0.300',
1111
license='MIT',
1212
author='nggit',
1313
author_email='contact@anggit.com',

tremolo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.0.209'
1+
__version__ = '0.0.300'
22

33
from .tremolo import Tremolo # noqa: E402
44
from . import exceptions # noqa: E402,F401

tremolo/lib/http_protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ async def handle_exception(self, exc):
227227

228228
if self._response is not None:
229229
self._response.set_status(exc.code, exc.message)
230-
self._response.set_content_type(exc.message)
230+
self._response.set_content_type(exc.content_type)
231231
await self._response.end(data, keepalive=False)
232232

233233
async def _handle_request_header(self, data, header_size):

0 commit comments

Comments
 (0)