Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Conversation

@tdammers
Copy link

@tdammers tdammers commented Oct 5, 2016

The Headers() constructor's first argument (headers) is optional in Python >3.5, but in Python 3.4, it is required (compare https://docs.python.org/3.4/library/wsgiref.html#wsgiref.headers.Headers vs. https://docs.python.org/3.5/library/wsgiref.html#wsgiref.headers.Headers).

The simple fix is to provide an empty list, which is the default in Python >3.5.

@c-bata c-bata merged commit 1a25e95 into kobinpy:master Oct 5, 2016
@c-bata
Copy link
Member

c-bata commented Oct 5, 2016

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants