Skip to content

Commit

Permalink
release 0.0.300 (#31)
Browse files Browse the repository at this point in the history
* urgent fix: content_type typo

---------

Co-authored-by: nggit <[email protected]>
  • Loading branch information
nggit and nggit authored Nov 13, 2023
1 parent 1e9d5db commit 016aba5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='tremolo',
version='0.0.209',
version='0.0.300',
license='MIT',
author='nggit',
author_email='[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion tremolo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.0.209'
__version__ = '0.0.300'

from .tremolo import Tremolo # noqa: E402
from . import exceptions # noqa: E402,F401
Expand Down
2 changes: 1 addition & 1 deletion tremolo/lib/http_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async def handle_exception(self, exc):

if self._response is not None:
self._response.set_status(exc.code, exc.message)
self._response.set_content_type(exc.message)
self._response.set_content_type(exc.content_type)
await self._response.end(data, keepalive=False)

async def _handle_request_header(self, data, header_size):
Expand Down

0 comments on commit 016aba5

Please sign in to comment.