Skip to content

Conversation

@KoleS46
Copy link

@KoleS46 KoleS46 commented Feb 9, 2016

The request method doesn't have headers as a positional argument.
def request(self, url_or_req, status=None, expect_errors=False, **req_params):
https://github.com/Pylons/webtest/blob/master/webtest/app.py#L526
This causes the headers to be not present in the request.
Therefore we need to pass it as a keyword one.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant