Skip to content

Commit

Permalink
Fixed headers to not be value lower cased. Pushing version for deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbefus committed Jan 20, 2020
1 parent ad1db53 commit be1a439
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eynnyd/response_builder.py
Expand Up @@ -159,7 +159,7 @@ def add_header(self, name, value):
if self._status.code in NON_TYPED_STATUSES and ascii_lowered_name == 'content-type':
raise SettingContentTypeWithNonTypedStatusException(
"Cannot set content-type header on response with status {s}".format(s=self._status))
self._headers[ascii_lowered_name] = str(value).lower()
self._headers[ascii_lowered_name] = str(value)
return self

def remove_header(self, name):
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -5,7 +5,7 @@

setup(
name='eynnyd',
version='0.3.0',
version='0.4.0',
description='A light-weight wsgi web framework',
long_description=readme,
long_description_content_type='text/markdown',
Expand All @@ -19,7 +19,7 @@
],
packages=find_packages(exclude=('test')),
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
Expand Down

0 comments on commit be1a439

Please sign in to comment.